|
Hi,
i'm copying https://projects.puppetlabs.com/issues/3924 to here, because i can reproduce this with puppet 3.7.2:
Hello all,
got a strange issue – tidy does not notify resources.
tidy {"messages": path => "/var/log", size => "10m", matches => [ "zmd-messages.log.*", "zypper.log-*"] age => "30d", recurse => "true", backup => "false", rmdirs => "true", notify => Exec["restart_syslog"]; }
exec {"restart_syslog": command => "/etc/init.d/syslog restart", refreshonly => true; }
This should clean all matching Files in /var/log and execute restart_syslog, only if it gets triggered from tidy messages, or? But the exec is ignored.
Jan
|