aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-08 14:50:43 +0000
committerMichael Scherer <misc@mageia.org>2011-03-08 14:50:43 +0000
commitff81c47444e3819c2b97b43891ac11cb14b14d1b (patch)
tree309102c74a7ad4470f3d2828ec5a5c526e467205 /modules/postfix/manifests
parentb742dd6085809b2931e2909a11c3d6040cc83891 (diff)
downloadpuppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.tar
puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.tar.gz
puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.tar.bz2
puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.tar.xz
puppet-ff81c47444e3819c2b97b43891ac11cb14b14d1b.zip
- first prototype of ldap aliases
Diffstat (limited to 'modules/postfix/manifests')
-rw-r--r--modules/postfix/manifests/init.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp
index 8e789b38..c09cbc2b 100644
--- a/modules/postfix/manifests/init.pp
+++ b/modules/postfix/manifests/init.pp
@@ -57,6 +57,16 @@ class postfix {
mode => 644,
content => template("postfix/primary_master.cf"),
}
+
+
+ $ldap_password = extlookup("postfix_ldap",'x')
+ file { '/etc/postfix/ldap_aliases.conf':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ content => template("postfix/ldap_aliases.conf"),
+ }
}
class secondary_smtp inherits smtp_server {