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

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

Issue 5766400081657856: #760 - Make our ssh configuration used automatically for all servers (Closed)
Patch Set: #760 - Make our ssh configuration used automatically for all servers Created July 15, 2014, 1:21 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 | modules/filtermaster/manifests/init.pp » ('j') | 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 {'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
11 } 11 }
12 12
13 Exec['apt_update'] -> Package <| |> 13 Exec['apt_update'] -> Package <| |>
14 14
15 include private::users, postfix 15 include private::users, postfix, ssh
16 16
17 package {['mercurial', 'vim', 'emacs', 'debian-goodies']: ensure => present} 17 package {['mercurial', 'vim', 'emacs', 'debian-goodies']: ensure => present}
18 18
19 file {'/etc/timezone': 19 file {'/etc/timezone':
20 ensure => file, 20 ensure => file,
21 owner => root, 21 owner => root,
22 group => root, 22 group => root,
23 mode => 0644, 23 mode => 0644,
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': 34 service {'cron':
35 ensure => running, 35 ensure => running,
36 enable => true, 36 enable => true,
37 } 37 }
38 38
39 class {'logrotate': 39 class {'logrotate':
40 stage => 'post' 40 stage => 'post'
41 } 41 }
42 } 42 }
OLDNEW
« no previous file with comments | « no previous file | modules/filtermaster/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld