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

Side by Side Diff: modules/base/manifests/init.pp

Issue 9425039: Make sure timezone changes actually take effect (Closed)
Patch Set: Created Feb. 21, 2013, 4:28 p.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 | no next file » | 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 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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld