Hi!
I need to create manifest that creates file and run some command on it's
change. I thought that I can do it with subscribe and notify statements,
but I can't. Can someone give me example of such manifest?
I tried using manifest like this, and it always displays notify message,
despite
the fact that file has not changed
file { '/tmp/test':
ensure => present,
content => "Hello",
}
notify {'after':
message => "File created",
subscribe => File['/tmp/test/'],
}
File['/tmp/test'] ~> Notify['after']
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev/a839b7ee-c1bc-40fb-a2a1-b56d47b1d415%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.