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

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

Issue 29469627: #1634 - Update file resource syntax in module postfix (Closed)
Patch Set: Created June 20, 2017, 5:04 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 postfix { 1 class postfix {
2 package {'postfix': ensure => present} 2 package {'postfix': ensure => present}
3 3
4 file {'/etc/postfix/main.cf': 4 file {'/etc/postfix/main.cf':
5 ensure => present, 5 ensure => present,
6 owner => root, 6 owner => root,
7 group => root, 7 group => root,
8 mode => 0644, 8 mode => '0644',
9 source => 'puppet:///modules/postfix/main.cf', 9 source => 'puppet:///modules/postfix/main.cf',
10 require => Package['postfix'], 10 require => Package['postfix'],
11 notify => Service['postfix'] 11 notify => Service['postfix']
12 } 12 }
13 13
14 service {'postfix': 14 service {'postfix':
15 ensure => running, 15 ensure => running,
16 enable => true, 16 enable => true,
17 hasstatus => true, 17 hasstatus => true,
18 hasrestart => true 18 hasrestart => true
19 } 19 }
20 } 20 }
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