aboutsummaryrefslogtreecommitdiffstats
path: root/modules/catdap/templates/catdap_local.yml
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-22 23:51:47 +0000
committerMichael Scherer <misc@mageia.org>2012-01-22 23:51:47 +0000
commita1494830fbc0d2b12ada23d09a4b7a264afc02fa (patch)
tree593b320f23d8e75e238062421cb23553b139cb0e /modules/catdap/templates/catdap_local.yml
parent2e70835d6b76d296963cf8349ba01e9f25369ff4 (diff)
downloadpuppet-a1494830fbc0d2b12ada23d09a4b7a264afc02fa.tar
puppet-a1494830fbc0d2b12ada23d09a4b7a264afc02fa.tar.gz
puppet-a1494830fbc0d2b12ada23d09a4b7a264afc02fa.tar.bz2
puppet-a1494830fbc0d2b12ada23d09a4b7a264afc02fa.tar.xz
puppet-a1494830fbc0d2b12ada23d09a4b7a264afc02fa.zip
use string interpolation, and set ldap to ldap-master rather than "ldap"
Diffstat (limited to 'modules/catdap/templates/catdap_local.yml')
-rw-r--r--modules/catdap/templates/catdap_local.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/catdap/templates/catdap_local.yml b/modules/catdap/templates/catdap_local.yml
index 07b55a8c..a2f00867 100644
--- a/modules/catdap/templates/catdap_local.yml
+++ b/modules/catdap/templates/catdap_local.yml
@@ -1,7 +1,7 @@
<%
-ldap_server = 'ldap.' + domain
+ldap_server = 'ldap-master.#{domain}'
-ldap_account = 'cn=catdap-' + hostname + ',ou=System Accounts,' + dc_suffix
+ldap_account = 'cn=catdap-#{hostname},ou=System Accounts,#{dc_suffix}'
%>
organisation: Mageia