Issue #5876 has been updated by R.I. Pienaar.
I am not sure if this is related - i can make a new bug if you think it isn't - but I am seeing similar notify issues: <pre> puppet-agent[1723]: (/Stage[main]/Mcollective::Install/Puppet::Pkg[rubygem-stomp]/Package[rubygem-stomp]/ensure) change from 1.1.7-1.el5 to 1.1.8-1.el5 failed: Could not update: Failed to update to version 1.1.8-1.el5, got version 1.1.7-1.el5 instead at /etc/puppet/manifests/common/modules/puppet/manifests/pkg.pp:7 puppet-agent[1723]: (/Stage[main]/Mcollective::Install/Puppet::Pkg[rubygem-stomp]/Package[rubygem-stomp]) Scheduling refresh of Service[mcollective] puppet-agent[1723]: (/Stage[main]/Mcollective::Service/Service[mcollective]) Triggered 'refresh' from 1 events </pre> So here a package fails to install, it then still notifies the service and the service restarts Additionally I question the 'normal' priority of this ticket, the dependency and notification system in puppet is key to everything, I'd consider these issues critical. The above is from 2.6.6 ---------------------------------------- Bug #5876: Require and Subscribe on the same refreshonly exec doesnt work https://projects.puppetlabs.com/issues/5876 Author: R.I. Pienaar Status: Accepted Priority: Normal Assignee: Category: Target version: 2.6.x Affected Puppet version: 0.25.4 Keywords: Branch: Given this manifest: <pre> exec{"moo": command => "/usr/bin/cowsay 'fail :('", refreshonly => true, logoutput => true, require => Exec["false"], subscribe => [ File["/tmp/1"], File["/tmp/2"], File["/tmp/3"] ] } file{"/tmp/1": content => 1} file{"/tmp/2": content => 2} file{"/tmp/3": content => 3} exec{"false": command => "/bin/false"} </pre> The Exec[moo] shouldn't run it requires Exec[false] which will always fail, but it gets notified by the file resources via its subscribes and then runs anyway regardless of the state of the required resources. In version 2.6.5 this might be related to #5670 but I am filing a new bug since I think its not as this bug is also present in 0.25.x while the one in #5670 is 2.6.x only <pre> notice: //File[/tmp/1]/content: defined content as 'unknown checksum' notice: //File[/tmp/3]/content: defined content as 'unknown checksum' err: //Exec[false]/returns: change from notrun to 0 failed: /bin/false returned 1 instead of one of [0] at /home/rip/test.pp:12 notice: //File[/tmp/2]/content: defined content as 'unknown checksum' notice: //Exec[moo]: Dependency exec[/bin/false] has 1 failures warning: //Exec[moo]: Skipping because of failed dependencies notice: //Exec[moo]: Triggering 'refresh' from 3 dependencies notice: //Exec[moo]/returns: _________ notice: //Exec[moo]/returns: < fail :( > notice: //Exec[moo]/returns: --------- notice: //Exec[moo]/returns: \ ^__^ notice: //Exec[moo]/returns: \ (oo)\_______ notice: //Exec[moo]/returns: (__)\ )\/\ notice: //Exec[moo]/returns: ||----w | notice: //Exec[moo]/returns: || || </pre> -- 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.
