Created
May 20, 2014 10:32
-
-
Save seanhandley/f74eb6baeccef898064f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$defaults = { | |
ensure => present, | |
host => '127.0.0.1', | |
port => 636, | |
base => hiera(ldap::server::suffix), | |
username => hiera(ldap::server::rootdn), | |
password => hiera(ldap::server::rootpw), | |
} | |
create_resources(ldap_entry, hiera(ldap_schema), $defaults) | |
create_resources(ldap_entry, hiera(admins), $defaults) | |
# Ensure entries are created in the correct order | |
Ldap_entry <| tag == 'root' |> -> | |
Ldap_entry <| tag == 'organizational_unit' |> -> | |
Ldap_entry <| tag == 'user' |> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment