summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-01-27 14:27:02 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-01-27 14:27:02 -0200
commitf30c1d1e77db52ff987e278bf17a32f5c83a6dd7 (patch)
treef9515bbdcfbd71141dc3dd24f5e85cecf080e6dd /manifests
parent0ce1bfb2ebfe1b01dc01afecc97d6bbcdce51209 (diff)
downloadpuppet-supybot-f30c1d1e77db52ff987e278bf17a32f5c83a6dd7.tar.gz
puppet-supybot-f30c1d1e77db52ff987e278bf17a32f5c83a6dd7.tar.bz2
Rotate messages.log
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index cffa2ef..d698f29 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -31,4 +31,12 @@ class supybot {
source => [ 'puppet:///modules/site_supybot/conf.d/supybot.conf',
'puppet:///modules/supybot/conf.d/supybot.conf' ],
}
+
+ file { '/etc/logrotate.d/supybot':
+ ensure => present,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ source => 'puppet:///modules/supybot/logrotate.d/supybot',
+ }
}