Revision
285
Author
misc
Date
2010-11-18 19:07:50 +0100 (Thu, 18 Nov 2010)

Log Message

- add a common ancestor to smtp server

Modified Paths

Modified: puppet/modules/postfix/manifests/init.pp
===================================================================
--- puppet/modules/postfix/manifests/init.pp	2010-11-18 17:42:50 UTC (rev 284)
+++ puppet/modules/postfix/manifests/init.pp	2010-11-18 18:07:50 UTC (rev 285)
@@ -31,7 +31,11 @@
         }
     }
 
-    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 secondary_smtp inherits base {
+    class secondary_smtp inherits smtp_server {
         file { '/etc/postfix/main.cf':
             content => template("postfix/secondary_main.cf"),
         }