Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/logrotate/manifests/init.pp

Issue 29378979: Ticket70 - Remove duplicate/unnecessary logrotate cron job (Closed)
Patch Set: For comment 2 Created March 9, 2017, 4:44 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/adblockplus/templates/crontab.erb ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/logrotate/manifests/init.pp
===================================================================
--- a/modules/logrotate/manifests/init.pp
+++ b/modules/logrotate/manifests/init.pp
@@ -6,13 +6,7 @@
}
cron {'logrotate':
- ensure => present,
- require => Exec['ensure_logrotate_status'],
- command => '/usr/sbin/logrotate /etc/logrotate.conf',
- environment => hiera('cron::environment', []),
- user => root,
- hour => '0',
- minute => '0'
+ ensure => 'absent',
}
$config = hiera('logrotate::config', {})
« no previous file with comments | « modules/adblockplus/templates/crontab.erb ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld