aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/manifests/init.pp')
-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 {