file{"/tmp/trigger":
notify => Exec["helloworld"]
}
exec{"helloworld":
command => "date > /tmp/triggered",
path => "/bin",
refreshonly => true,
}
|
Pastie
Support Pastie
or read my
Pastie << self
blog
file{"/tmp/trigger":
notify => Exec["helloworld"]
}
exec{"helloworld":
command => "date > /tmp/triggered",
path => "/bin",
refreshonly => true,
}
|