Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 3.6.2
-
None
-
Agent
-
2
-
Agent 2017-03-22
-
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
- relates to
-
PUP-1211 Puppet Resource Package fails
-
- Resolved
-
-
PUP-2154 Puppet Resource Package not work with Windows OS (russian localization)
-
- Resolved
-
-
PUP-3746 Non-US Language / Unicode Support for Windows
-
- Closed
-
-
PUP-5728 Change default parsing of manifest files to UTF-8
-
- Closed
-
-
PUP-3837 Work around Ruby string encoding behavior exercised during registry calls in win32/registry
-
- Closed
-
- links to