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

Side by Side 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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/filterserver/files/logrotate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class base { 1 class base {
2 stage {'pre': before => Stage['main']} 2 stage {'pre': before => Stage['main']}
3 stage {'post': require => Stage['main']}
3 4
4 class {'apt': 5 class {'apt':
5 stage => 'pre', 6 stage => 'pre',
6 always_apt_update => true 7 always_apt_update => true
7 } 8 }
8 9
9 class {'users': 10 class {'users':
10 stage => 'pre', 11 stage => 'pre',
11 } 12 }
12 13
13 include private::users, postfix 14 include private::users, postfix
14 15
15 package {['mercurial', 'vim', 'emacs']: ensure => present} 16 package {['mercurial', 'vim', 'emacs']: ensure => present}
16 17
17 file {'/etc/timezone': 18 file {'/etc/timezone':
18 ensure => file, 19 ensure => file,
19 owner => root, 20 owner => root,
20 group => root, 21 group => root,
21 mode => 0644, 22 mode => 0644,
22 source => 'puppet:///modules/base/timezone' 23 source => 'puppet:///modules/base/timezone'
23 } 24 }
25
26 class {'logrotate':
27 stage => 'post'
28 }
24 } 29 }
OLDNEW
« 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