Hello,
I have to modiy a manifest.
Actuall it's the restart of snmp-daemon if snmpd.conf is changed.
( File["FILESnmpd"] -> Exec["RESTARTSnmpd"])
New should be:
If snmpd.conf is changed AND if binayA and binayB exists => Restart
Snmpd => than: Restart ServiceA => than Restart ServiceB
How can this be done in manifest?
This is not working :-(
if exists(("Path-toBinayrA) and (Path-to-
BinaryB))
{
File["FILESnmpd"] -> Exec["RESTARTSnmpd"] -> Exec
["RESTARTServiceA"] ->
Exec ["RESTARTServiceB"]
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.