diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-17 15:35:10 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-17 15:35:10 +0000 |
commit | d3918db07bb550d340c95b6ab495a346733c9c25 (patch) | |
tree | f8f8c07761af82917cad825ee895183e4bc90eda /modules/postfix | |
parent | e3241bb3df3a21e26c077cdcbb559e038fd7388f (diff) | |
download | puppet-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.pp | 15 |
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"), + } + } + } |