31 |
} |
} |
32 |
} |
} |
33 |
|
|
34 |
class primary_smtp inherits base { |
class smtp_server inherits base { |
35 |
|
include postgrey |
36 |
|
} |
37 |
|
|
38 |
|
class primary_smtp inherits smtp_server { |
39 |
file { '/etc/postfix/main.cf': |
file { '/etc/postfix/main.cf': |
40 |
content => template("postfix/primary_main.cf"), |
content => template("postfix/primary_main.cf"), |
41 |
} |
} |
49 |
} |
} |
50 |
} |
} |
51 |
|
|
52 |
class secondary_smtp inherits base { |
class secondary_smtp inherits smtp_server { |
53 |
file { '/etc/postfix/main.cf': |
file { '/etc/postfix/main.cf': |
54 |
content => template("postfix/secondary_main.cf"), |
content => template("postfix/secondary_main.cf"), |
55 |
} |
} |