Ken Sykora
2014-Jun-26 14:33 UTC
[Puppet Users] Dealing with Packages on Windows that contain special characters
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. <https://lh6.googleusercontent.com/-aNaZ8mz7B-g/U6wuGNRdhCI/AAAAAAAAAko/IbBDtM-PYy8/s1600/Screen+Shot+2014-06-26+at+9.28.05+AM.png> In puppet, it shows up like this: PS C:\Users\vagrant> puppet resource package | sls Azure> package { 'Windows Azure Authoring Tools - v2.3': > package { 'Windows Azure Command Line Tools': > package { 'Windows Azure Compute Emulator - v2.3': > *package { 'Windows Azure Libraries for .NET û v2.3':* > package { 'Windows Azure Pack - PowerShell API - 2013': > package { 'Windows Azure PowerShell - May 2014': > package { 'Windows Azure Storage Tools - v2.2.2': > package { 'Windows Azure Tools for Microsoft Visual Studio 2013 - v2.3':However, querying for it specifically seems difficult -- 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', > }How can I reference this package by it's correct name so the installer doesn't run multiple times on provisioning? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/277a5958-3920-4c53-826e-0db76315ab7a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.