Sorry for the late reply, Rob.
Putting the endash as a unicode character in my manifest causes it to miss
the package being already installed.
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
On Monday, June 30, 2014 2:04:45 PM UTC-5, Rob Reynolds wrote:
>
>
>
> On Thu, Jun 26, 2014 at 9:33 AM, Ken Sykora <[email protected]
> <javascript:>> wrote:
>
>> 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?
>>
>
> What does putting the endash in the manifest do for your run?
>
>> --
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/puppet-users/277a5958-3920-4c53-826e-0db76315ab7a%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/puppet-users/277a5958-3920-4c53-826e-0db76315ab7a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Rob Reynolds
> Developer, Puppet Labs
>
> *Join us at PuppetConf 2014 <http://www.puppetconf.com/>, September
> 20-24 in San Francisco*
> *Register by July 31st to take advantage of the Early Bird discount
> <https://puppetconf2014.eventbrite.com/?discount=EarlyBird> **—**save
> $249!*
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/9ae93775-d766-473e-81a1-b17f87e6a306%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.