OLD | NEW |
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 } |
OLD | NEW |