From c32d1c731f3d5e902f94dd615b53267be1a7e2f2 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 18 Nov 2010 18:07:50 +0000 Subject: - add a common ancestor to smtp server --- modules/postfix/manifests/init.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/postfix/manifests') 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"), } -- cgit v1.2.1