Issue #2833 has been updated by Zachary Stern.

Keywords set to customer

----------------------------------------
Bug #2833: yum provider keeps re-purging package
https://projects.puppetlabs.com/issues/2833#change-97183

* Author: Adrian Bridgett
* Status: Duplicate
* Priority: Normal
* Assignee: Jesse Wolfe
* Category: package
* Target version: 
* Affected Puppet version: 
* Keywords: customer
* Branch: 
----------------------------------------
With a manifest containing:
<pre>
package { "nano": ensure => purged; }
</pre>

Each time I run puppet I'm seeing this:
<pre>
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q nano 
--nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} 
%{RELEASE} %{ARCH}
'
debug: //Node[redhat]/default_class/packages::purge::basic/Package[nano]: 
Changing ensure
debug: //Node[redhat]/default_class/packages::purge::basic/Package[nano]: 1 
change(s)
debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -y erase 
nano'
notice: 
//Node[redhat]/default_class/packages::purge::basic/Package[nano]/ensure: 
created
</pre>

Even though the package isn't installed.  I can't see anything in subsequent 
releases that suggest this may have changed.  On Debian this seems to work just 
fine (no notices).  This also means that related notifies keep being called 
even though the system state isn't changing.


-- 
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 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-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to