On Thu, Jun 26, 2014 at 9:33 AM, Ken Sykora <ksyk...@nerdery.com> 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 puppet-users+unsubscr...@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
> <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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAMJiBK7QotX1E%3Dja1Fiv7UsZsni6vsCfDEcEK7Y5XsfbHowfZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to