Issue #17287 has been updated by Greg Swift.

Assignee changed from Greg Swift to eric sorenson

I'm working off the concept that when I run puppet and there is nothing to do I 
should see *zero* notices like this.  If there is a notice it means that 
something is being triggered, which means the state is not as intended.

If you look in the client output you will see this on the preceding line:
debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -y erase ntp'

Which means its executing something.  But if there is nothing to do, why is it 
doing something?  
----------------------------------------
Bug #17287: CentOS client ensuring package every run when set to purge not 
absent
https://projects.puppetlabs.com/issues/17287#change-77892

Author: Greg Swift
Status: Needs More Information
Priority: Normal
Assignee: eric sorenson
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I was working on our internal time module. I’m attaching a very generic version 
of it.

Basically when the class is set ‘ensure => absent’ My module sets the package's 
'ensure => purge' to make sure that package and all is gone.  But every run 
subsequent run it throws the following notice:

notice: /Stage[main]/Basictime/Package[ntp]/ensure: created

Also attaching full output as well.

Testing with 2.7.19 from yum.puppetlabs.

This part works fine on debian (I have a different issue on that side - bug 
17286)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to