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

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

Issue 10590026: Install Nginx 1.4.1 from the official repository (Closed)
Patch Set: Created May 17, 2013, 11:04 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
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':
6 stage => 'pre',
7 always_apt_update => true
8 }
9
10 class {'users': 5 class {'users':
11 stage => 'pre', 6 stage => 'pre',
12 } 7 }
13 8
9 class {'apt':
10 always_apt_update => true
11 }
12
13 Exec['apt_update'] -> Package <| |>
14
14 include private::users, postfix 15 include private::users, postfix
15 16
16 package {['mercurial', 'vim', 'emacs']: ensure => present} 17 package {['mercurial', 'vim', 'emacs']: ensure => present}
17 18
18 file {'/etc/timezone': 19 file {'/etc/timezone':
19 ensure => file, 20 ensure => file,
20 owner => root, 21 owner => root,
21 group => root, 22 group => root,
22 mode => 0644, 23 mode => 0644,
23 content => 'UTC' 24 content => 'UTC'
24 } 25 }
25 26
26 file {'/etc/localtime': 27 file {'/etc/localtime':
27 ensure => link, 28 ensure => link,
28 target => '/usr/share/zoneinfo/UTC' 29 target => '/usr/share/zoneinfo/UTC'
29 } 30 }
30 31
31 class {'logrotate': 32 class {'logrotate':
32 stage => 'post' 33 stage => 'post'
33 } 34 }
34 } 35 }
OLDNEW
« no previous file with comments | « no previous file | modules/discourse/files/intraforum.adblockplus.org » ('j') | modules/nginx/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld