[Mageia-sysadm] [285] - add a common ancestor to smtp server

root at mageia.org root at mageia.org
Thu Nov 18 19:07:50 CET 2010


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:
--------------
    puppet/modules/postfix/manifests/init.pp

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"),
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101118/d61e0d6d/attachment-0001.html>


More information about the Mageia-sysadm mailing list