On Friday, July 12, 2013 3:35:09 PM UTC-5, Kim Scarborough wrote:
>
> On Friday, July 12, 2013 2:04:36 PM UTC-4, Stefan Schulte wrote:
>
>> Are you running on RedHat (or some other OS that uses yum)? You may hit 
>> https://projects.puppetlabs.com/issues/11450 in this case. Specifying an 
>> ensure state of `absent` should work as a workaround on these platforms. 
>>
>>
> I have to do a "purged" at least once because the package has a circular 
> dependency and can't be removed with rpm from puppet. It has to be removed 
> with yum.
>


Yes, you should use 'purged' only if that's what you really need, but when 
you need it, you need it.

You have a few alternatives, among them:

   - Put up with the affected machines always being marked "changed", at 
   least until the bug is fixed in Puppet.  In this case, it might be to your 
   advantage to go vote up the issue in PL's issue tracker (link provided by 
   Stefan).
   - Fix the bug in-house.  Optionally, contribute the fix to Puppet.
   - Work around the bug by writing a custom fact that tests whether the 
   package is installed, and using it to control whether the package is 
   ensured 'purged' or 'absent' (or whether it's altogether unmanaged).


John

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to