A puppet module to configure our OpenLDAP servers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Tobias Herre 726a33a0bf Activated syncrepl 7 months ago
files includes posixGroup 7 months ago
manifests Activated syncrepl 7 months ago
templates Added some parameters to LSC 7 months ago
LICENSE Initial commit 8 months ago
README.md Install inmstructions 7 months ago

README.md

puppet-wmdeit_ldap

A puppet module to configure our OpenLDAP servers

You have to have a running puppetserver on FreeBSD. Your clients have to Debian/Ubuntu.

Intall this module:

git clone https://srcsrv.wikimedia.de/WMDE/puppet-wmdeit\_ldap.git
ln -s puppet-wmdeit_ldap /path/to/pupet-environment/modules/wmdeit_ldap

To get it running:

puppet module install camptocamp-openldap

For lsc

puppet module install puppetlabs-java
puppet module install puppetlabs-apt
puppet generate types 

For LAM

puppet module install puppetlabs-apache
puppet module install puppet-php

Examples:

class {"wmdeit_ldap":
    serverid => 17,
    simple_bind_tls => "0",
    log_level => 4,

    # password for cn=config
    configdn => "nc=admin,nc=config",
    configpw => "123",

    # database with rootdn and rootpw
    database => "dc=wikimedia,dc=de",
    rootdn => "cn=admin,dc=wikimedia,dc=de",
    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",

    configs => {
        wmde => {
            password => "1234",
            password_salt => "5678",
            tree_suffix => "dc=wikimedia,dc=de",
            admins => [
                "cn=admin,dc=wikimedia,dc=de",
            ],
            login_search_dn=>"cn=admin,dc=wikimedia,dc=de",
            login_search_suffix=>"dc=wikimedia,dc=de",
            login_search_password=>"123",
            login_method=>"search" # or "list or search allowed",
            server_url=>"ldap://localhost:389",
        }
    }
}