2011/10/28 Ken Barber <[email protected]>: > The notify resource here would be perfect _if_ it supported > 'refreshonly' ... which unfortunately it does not. (possibly a good > feature request though ...). > > A work around is to use something that does support refreshonly ... > namely 'exec'. > > file { "/tmp/foo": > content => "foo", > notify => Exec["asdf"], > } > exec { "asdf": > command => "/bin/echo foo", > logoutput => true, > refreshonly => true, > } > > This will at least print something to the screen only when the file changes.
Yes, I see the change now in the client's log file. But I was a bit unclear, I'd like to this in the server's log. So that I can search this log for changes. Ralf -- 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.
