aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-18 18:07:50 +0000
committerMichael Scherer <misc@mageia.org>2010-11-18 18:07:50 +0000
commitc32d1c731f3d5e902f94dd615b53267be1a7e2f2 (patch)
tree0e44d5415e1e2980c98ee6d6fe2b6d13d60a18a3 /modules/postfix/manifests
parent8cdcd6074517f143c7f8e9824a01a4ffa50cff12 (diff)
downloadpuppet-c32d1c731f3d5e902f94dd615b53267be1a7e2f2.tar
puppet-c32d1c731f3d5e902f94dd615b53267be1a7e2f2.tar.gz
puppet-c32d1c731f3d5e902f94dd615b53267be1a7e2f2.tar.bz2
puppet-c32d1c731f3d5e902f94dd615b53267be1a7e2f2.tar.xz
puppet-c32d1c731f3d5e902f94dd615b53267be1a7e2f2.zip
- add a common ancestor to smtp server
Diffstat (limited to 'modules/postfix/manifests')
-rw-r--r--modules/postfix/manifests/init.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp
index b3c4fc8b..a3248ff5 100644
--- a/modules/postfix/manifests/init.pp
+++ b/modules/postfix/manifests/init.pp
@@ -31,7 +31,11 @@ class postfix {
}
}
- class primary_smtp inherits base {
+ class smtp_server inherits base {
+ include postgrey
+ }
+
+ class primary_smtp inherits smtp_server {
file { '/etc/postfix/main.cf':
content => template("postfix/primary_main.cf"),
}
@@ -45,7 +49,7 @@ class postfix {
}
}
- class secondary_smtp inherits base {
+ class secondary_smtp inherits smtp_server {
file { '/etc/postfix/main.cf':
content => template("postfix/secondary_main.cf"),
}