Issue #3924 has been reported by Jan Doleschal.
----------------------------------------
Bug #3924: Tidy can not trigger resources
http://projects.puppetlabs.com/issues/3924
Author: Jan Doleschal
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.4
Keywords:
Branch:
Hello all,
got a strange issue - tidy does not notify resources.
<blockquote>
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;
}
</blockquote>
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
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.