- if $::hostname in [lotty,lully,loghost-grnet-01,loghost-osuosl-01] {
- file { '/etc/logrotate.d/syslog-ng-loggers':
- source => 'puppet:///modules/syslog_ng/syslog-ng.logrotate.loggers',
- require => Package['syslog-ng']
- }
- file { '/etc/cron.daily/local-handle-loghost-logs':
- ensure => absent,
- }
- file { '/etc/cron.daily/puppet-handle-loghost-logs':
- source => 'puppet:///modules/syslog_ng/loggers-cron',
- mode => '0555',
- }
- }
- # while syslog-ng breaks on boot