Left: | ||
Right: |
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 stage {'post': require => Stage['main']} |
4 | 4 |
5 class {'apt': | 5 class {'apt': |
6 stage => 'pre', | 6 stage => 'pre', |
7 always_apt_update => true | 7 always_apt_update => true |
8 } | 8 } |
9 | 9 |
10 class {'users': | 10 class {'users': |
11 stage => 'pre', | 11 stage => 'pre', |
12 } | 12 } |
13 | 13 |
14 include private::users, postfix | 14 include private::users, postfix |
15 | 15 |
16 package {['mercurial', 'vim', 'emacs']: ensure => present} | 16 package {['mercurial', 'vim', 'emacs']: ensure => present} |
17 | 17 |
18 file {'/etc/timezone': | 18 file {'/etc/timezone': |
19 ensure => file, | 19 ensure => file, |
20 owner => root, | 20 owner => root, |
21 group => root, | 21 group => root, |
22 mode => 0644, | 22 mode => 0644, |
23 source => 'puppet:///modules/base/timezone' | 23 source => 'puppet:///modules/base/timezone' |
Wladimir Palant
2013/02/21 16:38:19
Looking at this, using content => 'UTC' probably m
Felix Dahlke
2013/02/22 08:20:26
Yes, that'd be clearer.
| |
24 } | 24 } |
25 | 25 |
26 file {'/etc/localtime': | |
27 ensure => link, | |
28 target => '/usr/share/zoneinfo/UTC' | |
29 } | |
30 | |
26 class {'logrotate': | 31 class {'logrotate': |
27 stage => 'post' | 32 stage => 'post' |
28 } | 33 } |
29 } | 34 } |
OLD | NEW |