Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2937

Windows: Unable to reference packages with UTF-8 Characters in their names

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 3.6.2
    • PUP 4.4.0
    • None
    • No Action

    Description

      I'm currently trying to prevent a specific package from continuing its install run on subsequent puppet apply commands. The package in Question is the Windows Azure SDK for .Net 2.3. The package's name listed in the registry contains an endash (–) instead a normal hyphen.

      See attached screen shot for view from "programs and features" control panel.

      In puppet, it shows up like this:

      PS C:\Users\vagrant> puppet resource package | sls Azure
      package { 'Windows Azure Libraries for .NET û v2.3':
      

      I seem to be unable to query for it completely – this is what I can't figure out:

      PS C:\Users\vagrant> puppet resource package "Windows Azure Libraries for .NET – v2.3"
      package { 'Windows Azure Libraries for .NET û v2.3':
        ensure => 'absent',
      }
      PS C:\Users\vagrant> puppet resource package "Windows Azure Libraries for .NET û v2.3"
      package { 'Windows Azure Libraries for .NET √ v2.3':
        ensure => 'absent',
      }
      

      When I try to reference it in a Puppet manifest, it causes to miss the package completely and always attempts to install it. This isn't a huge issue, but is obviously undesired.

      Manifest:

      file { "${tempDirectory}WindowsAzureLibsForNet-x64.msi":
          ensure => present,
          source => 'puppet:///modules/packages/WindowsAzureLibsForNet-x64.msi',
        }
        ->
        package { 'Azure Libraries for .NET – v2.3':
          ensure  => '2.3.0424.070',
          source  => "${tempDirectory}WindowsAzureLibsForNet-x64.msi"
        }
      

      When I run my manifest I get this:

        Notice: /Stage[main]/Packages::Msi/Package[Azure Libraries for .NET ΓÇô v2.3]/ensure: created
      

      Here is the package in question: http://www.microsoft.com/en-us/download/details.aspx?id=42317 (WindowsAzureLibsForNet-x64.msi is the package)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kensykora Ken Sykora
              Erik Dasher Erik Dasher
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support