Hi,everyone! I want to create a signal file when some particular file changes. I find a syntax called *notify* in puppet docs could realize my need. So I tried like this:
file {'target_file': ensure => 'present', source => 'puppet:///files/target_file', path => '/opt/target_file', notify => File['signal_file'], } file {'signal_file': ensure => 'present', path => '/opt/signal/signal_file', subscribe => File['target_file'], } However, I tried it many times, and found that even if target_file has existed and not changed, signal_file still created. It's not my purpose. Can anyone tell me if I miss something? -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/33da8d5d-68dc-4daf-a48f-25f5334d0865%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.