OLD | NEW |
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 } |
OLD | NEW |