define ldap::define::acl( $ensure = 'present', $order = '000', $domain = undef, $access = undef ){ File { owner => 'root', group => $ldap::params::lp_daemon_group, before => Class['ldap::server::rebuild'], require => Class['ldap::server::config'], } # Set a unique name for the configuration entity to be created # Cannot include some OpenLDAP ACL specific entries as a file system label. $unique_name = md5($name) file { "${ldap::params::lp_tmp_dir}/acl.d/${domain}-${order}-${unique_name}.conf": ensure => $ensure, content => template('ldap/server/openldap/acl_template.erb'), notify => Class['ldap::server::rebuild'], } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 18706 | jenbottom | Moving some files aroudn to make things less messy and hopefully easier to find | ||
#1 | 18639 | jenbottom |
adding some configs for an OpenLDAP VM (from GitHub) and some more work to helix_setup_basic.sh script. Now the script should put all my sample configs in place, so I just need to login to the VM and subvmit them |