diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-04 16:57:29 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-04 16:57:29 +0000 |
commit | 2e5ed0420db1f31ebe2c13e9214caa300c9c3451 (patch) | |
tree | ccf2ad909dc52510de0f1b044a3eb7b6bce2050e /modules/catdap/templates/catdap_local.yml | |
parent | aa733f1a5a0d340c357ce94bfc00971870832255 (diff) | |
download | puppet-2e5ed0420db1f31ebe2c13e9214caa300c9c3451.tar puppet-2e5ed0420db1f31ebe2c13e9214caa300c9c3451.tar.gz puppet-2e5ed0420db1f31ebe2c13e9214caa300c9c3451.tar.bz2 puppet-2e5ed0420db1f31ebe2c13e9214caa300c9c3451.tar.xz puppet-2e5ed0420db1f31ebe2c13e9214caa300c9c3451.zip |
- add a catdap module
Diffstat (limited to 'modules/catdap/templates/catdap_local.yml')
-rw-r--r-- | modules/catdap/templates/catdap_local.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/modules/catdap/templates/catdap_local.yml b/modules/catdap/templates/catdap_local.yml new file mode 100644 index 00000000..ec9f2753 --- /dev/null +++ b/modules/catdap/templates/catdap_local.yml @@ -0,0 +1,37 @@ +<% +# domain come from facter + +dc_suffix = 'dc=' + domain.gsub('.',',dc=') + +ldap_server = 'ldap' + domain + +ldap_password = extlookup('catdap_password') + +ldap_account = 'cn=catdap-valstar,ou=System Accounts,' + dc_suffix +%> + +organisation: Mageia +apptitle: Mageia Identity Management +emailfrom: noreply@<%= domain %> + +Model::Proxy: + base: ou=People,<%= dc_suffix %> + dn: <%= ldap_account %> + password: <%= ldap_password %> + +Model::User: + base: <%= dc_suffix %> + host: <%= ldap_server %> + start_tls: 1 + +authentication: + default_realm: ldap + realms: + ldap: + store: + ldap_server: <%= ldap_server %> + binddn: <%= dc_suffix %> + bindpw: <%= ldap_password %> + user_basedn: ou=People,<%= dc_suffix %> + role_basedn: <%= dc_suffix %> + |