Using tidy to clean up logs, this is pretty self-explanatory, so I wont
bother explaining :)
case $hostname {
/^puppet$/: {
tidy { 'puppet::reports':
path => '/var/lib/puppet/reports',
matches => '*',
age => '14d',
backup => false,
recurse => true,
rmdirs => true,
type => 'ctime',
}
# notify { "debug: tidy command should run now": }
}
}
Ciao,
Andrew.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.