aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-17 15:35:10 +0000
committerMichael Scherer <misc@mageia.org>2010-11-17 15:35:10 +0000
commitd3918db07bb550d340c95b6ab495a346733c9c25 (patch)
treef8f8c07761af82917cad825ee895183e4bc90eda /modules/postfix
parente3241bb3df3a21e26c077cdcbb559e038fd7388f (diff)
downloadpuppet-d3918db07bb550d340c95b6ab495a346733c9c25.tar
puppet-d3918db07bb550d340c95b6ab495a346733c9c25.tar.gz
puppet-d3918db07bb550d340c95b6ab495a346733c9c25.tar.bz2
puppet-d3918db07bb550d340c95b6ab495a346733c9c25.tar.xz
puppet-d3918db07bb550d340c95b6ab495a346733c9c25.zip
- add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )
Diffstat (limited to 'modules/postfix')
-rw-r--r--modules/postfix/manifests/init.pp15
1 files changed, 14 insertions, 1 deletions
diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp
index 980e3271..3cdff360 100644
--- a/modules/postfix/manifests/init.pp
+++ b/modules/postfix/manifests/init.pp
@@ -4,7 +4,7 @@ class postfix {
package { postfix:
ensure => installed
}
- package { 'nail':
+ package { 'nail':
ensure => installed
}
service { postfix:
@@ -30,4 +30,17 @@ class postfix {
content => template("postfix/simple_relay_main.cf"),
}
}
+
+ class primary_smtp inherits base {
+ file { '/etc/postfix/main.cf':
+ content => template("postfix/primary_main.cf"),
+ }
+ }
+
+ class secondary_smtp inherits base {
+ file { '/etc/postfix/main.cf':
+ content => template("postfix/secondary_main.cf"),
+ }
+ }
+
}