Issue #3149 has been updated by Mike Hoskins.

Hi Nigel,

Based on the age of the original report, any word on whether this has already 
been addressed in the latest 2.7.x releases?  If not, are there currently plans 
for it to be included in the next 2.7.x release?

I have a use case where a colleague is attempting to establish relationships 
between two classes using unless in a package command and a notify to the 
subsequent class...and it seems to fail in a way that seems similar to this 
report.  For now we are looking to refactor and do it using run stages or execs 
with alternate meta parameters, but wondering if this fix would help us.

Thanks for any info!
----------------------------------------
Feature #3149: Add a new metaparameter to send notifications on failure.
https://projects.puppetlabs.com/issues/3149#change-57535

Author: Hari Sekhon
Status: Accepted
Priority: Normal
Assignee: 
Category: metaparameters
Target version: Telly
Affected Puppet version: 0.24.8
Keywords: 
Branch: 


I have a resource that I expect to run successfully all the time, and when it's 
not I want it to trigger the run of another resource that otherwise wouldn't 
run.

Basically inverting the success/failure criteria of a notify =>

What I used to do was have a time check exec, and negated the command, with a 
notify such that if the command actually failed (ie the time was out of sync by 
more than a few seconds) it would return success to puppet and that would 
trigger the notify => of another resource to fix the time.

However, once one starts doing reporting, this is not cool since it means that 
resource fails on every run on every machine from puppet's perspective and was 
really not a nice hack. It also litters the logs.


-- 
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