Issue #2758 has been updated by Aaron Stone.

Status changed from Accepted to Closed

I used Nigel's solution just now. I'm going to guess this can be marked as 
resolved and closed :)

----------------------------------------
Feature #2758: soft (conditional) require/notify/before
https://projects.puppetlabs.com/issues/2758#change-96999

* Author: Alex Urbanowicz
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 0.25.1
* Keywords: service relationship
* Branch: 
----------------------------------------
Sometimes it is needed to define relations between resources without implying 
presence of the resource. For example if I deploy a new version of foo.conf, 
then I need to refresh Service["foo"], but I alse need to refresh 
Service["bar"], but only if it is deployed on a given node. There is currently 
no way to do that without either forking module code (for nodes that do, and 
doesn't contain Service["bar"]) or writing conditional service restarts in ugly 
Execs.


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