Browse Source

Added some parameters to LSC

master
Tobias Herre 2 years ago
parent
commit
1f3d3156d5
  1. 6
      README.md
  2. 6
      manifests/lsc.pp
  3. 6
      templates/lsc.xml.erb

6
README.md

@ -33,6 +33,12 @@ Examples:
rootpw => "123",
}
class{"wmdeit_ldap::lsc":
rootdn => "cn=admin,dc=wikimedia,dc=de",
rootpw => "123",
ldap => "ldap://localhost:389/dc=wikimedia,dc=de",
}
class {"wmdeit_ldap::lam":
master_password => "1234",
master_password_salt => "5678",

6
manifests/lsc.pp

@ -1,6 +1,10 @@
#
class wmdeit_ldap::lsc ()
class wmdeit_ldap::lsc (
$rootdn,
$rootpw,
$ldap,
)
inherits wmdeit_ldap
{

6
templates/lsc.xml.erb

@ -18,11 +18,11 @@
<ldapConnection>
<name>ldap-conn</name>
<!-- ./url mandatory, the JNDI URL -->
<url>ldap://localhost:389/dc=wikimedia,dc=de</url>
<url><%= @ldap %></url>
<!-- ./username mandatory, the DN to bind with -->
<username>cn=admin,dc=wikimedia,dc=de</username>
<username><%= @rootdn %></username>
<!-- ./password mandatory, credentials to bind with -->
<password>123</password>
<password><%= @rootpw %></password>
<!-- ./authentication mandatory, must contain either
ANONYMOUS, SIMPLE, SASL, GSSAPI or DIGEST_MD5 -->
<authentication>SIMPLE</authentication>

Loading…
Cancel
Save