LEFT | RIGHT |
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 {'users': | 5 class {'users': |
6 stage => 'pre', | 6 stage => 'pre', |
7 } | 7 } |
8 | 8 |
9 class {'apt': | 9 class {'apt': |
10 always_apt_update => true | 10 always_apt_update => true |
(...skipping 13 matching lines...) Expand all Loading... |
24 content => 'UTC', | 24 content => 'UTC', |
25 notify => Service['cron'] | 25 notify => Service['cron'] |
26 } | 26 } |
27 | 27 |
28 file {'/etc/localtime': | 28 file {'/etc/localtime': |
29 ensure => link, | 29 ensure => link, |
30 target => '/usr/share/zoneinfo/UTC', | 30 target => '/usr/share/zoneinfo/UTC', |
31 notify => Service['cron'] | 31 notify => Service['cron'] |
32 } | 32 } |
33 | 33 |
| 34 service {'cron': |
| 35 ensure => running, |
| 36 enable => true, |
| 37 } |
| 38 |
34 class {'logrotate': | 39 class {'logrotate': |
35 stage => 'post' | 40 stage => 'post' |
36 } | 41 } |
37 } | 42 } |
LEFT | RIGHT |