Issue #2833 has been reported by Adrian Bridgett.

----------------------------------------
Bug #2833: yum provider keeps re-purging package
http://projects.reductivelabs.com/issues/2833

Author: Adrian Bridgett
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: package
Target version: 
Affected version: 0.24.8
Keywords: 
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://reductivelabs.com/redmine/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=.


Reply via email to