Issue #17287 has been updated by Dean Wilson.

I'm seeing this on puppet-2.7.19-1.el5 too.

    # adds an extra notice
    $ puppet apply -e 'package { "yum-priorities": ensure => 'purged', provider 
=> 'yum' }' --verbose
    notice: /Stage[main]//Package[yum-priorities]/ensure: created**
    notice: Finished catalog run in 1.16 seconds


    # no extra output
    $ puppet apply -e 'package { "yum-priorities": ensure => 'absent', provider 
=> 'yum' }' --verbose
    notice: Finished catalog run in 1.09 seconds
    
I don't think the purged example should have the extra line of output.
----------------------------------------
Bug #17287: CentOS client ensuring package every run when set to purge not 
absent
https://projects.puppetlabs.com/issues/17287#change-78654

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