4 |
package { postfix: |
package { postfix: |
5 |
ensure => installed |
ensure => installed |
6 |
} |
} |
7 |
package { 'nail': |
package { 'nail': |
8 |
ensure => installed |
ensure => installed |
9 |
} |
} |
10 |
service { postfix: |
service { postfix: |
30 |
content => template("postfix/simple_relay_main.cf"), |
content => template("postfix/simple_relay_main.cf"), |
31 |
} |
} |
32 |
} |
} |
33 |
|
|
34 |
|
class primary_smtp inherits base { |
35 |
|
file { '/etc/postfix/main.cf': |
36 |
|
content => template("postfix/primary_main.cf"), |
37 |
|
} |
38 |
|
} |
39 |
|
|
40 |
|
class secondary_smtp inherits base { |
41 |
|
file { '/etc/postfix/main.cf': |
42 |
|
content => template("postfix/secondary_main.cf"), |
43 |
|
} |
44 |
|
} |
45 |
|
|
46 |
} |
} |