Hi All,

I am facing an issue to notify a service from different module whenever 
file changes.
Example:
I have a addfile module which creates a file and want to notify tomcat 
service which is present in tomcat module. 

class addfile {
   file {"/tmp/hello":
     ensure => file,
     content => "hello",
     notify   => Service["tomcat'],
   }
}


it is throwing an error as tomcat service is not in catalog.

I have 3.6.2 version of puppet and using ENC.

Any help will be appreciated

Thanks,
Afroz Hussain

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/3136ea33-94d7-47cd-9948-1b9dfe54de64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to