Hi,
I have this situation:

Class A: contains a File resource, and a Service resource which requires 
the File resource (the service needs to be restarted when the file changes).

Class B: will be applied only on a subset of machines where class A is 
applied, and it requires class A - resources belonging to class B must be 
applied only after resources from class A have been applied. Class B also 
contains some File resources, and after they are applied also the _same_ 
service from class A needs to be restarted.

How do you deal with this situation?

I cannot declare the same Service resource again in class B.
And I cannot declare the Service in class A as dependent from the File in 
class B.

Thanks for any suggestions.
Marco

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/28c5d6ac-3bbe-490d-b174-d321d0bf7fc7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to