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

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

Issue 9351014: Add logrotate cronjob to all servers, don`t run logrotate unnecessarily on provisioning and use con… (Closed)
Patch Set: Created Feb. 8, 2013, 8:19 a.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 | « no previous file | modules/filterserver/files/logrotate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/base/manifests/init.pp
===================================================================
--- a/modules/base/manifests/init.pp
+++ b/modules/base/manifests/init.pp
@@ -1,10 +1,11 @@
class base {
stage {'pre': before => Stage['main']}
+ stage {'post': require => Stage['main']}
class {'apt':
stage => 'pre',
always_apt_update => true
}
class {'users':
stage => 'pre',
@@ -16,9 +17,13 @@ class base {
file {'/etc/timezone':
ensure => file,
owner => root,
group => root,
mode => 0644,
source => 'puppet:///modules/base/timezone'
}
+
+ class {'logrotate':
+ stage => 'post'
+ }
}
« no previous file with comments | « no previous file | modules/filterserver/files/logrotate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld