# == Class: nslcd::params # # Sets the default parameters for the nslcd class. class nslcd::params { $package_ensure = present $service_ensure = running $service_enable = true $ldap_uris = ['ldap:///'] $ldap_version = '3' $ldap_binddn = undef $ldap_bindpw = undef $ldap_search_base = '' $ldap_search_scope = 'subtree' $ldap_filters = {} $ldap_ssl = 'off' $ldap_tls_reqcert = 'allow' $ldap_tls_cacertfile = undef $default_config = '/etc/nslcd.conf' $default_package_name = 'nslcd' $default_service_name = 'nslcd' case $::osfamily { Debian: { $config = $default_config $package_name = $default_package_name $service_name = $default_service_name $uid = 'nslcd' $gid = 'nslcd' $config_user = 'root' $config_group = 'nslcd' $config_mode = '0640' } default: { fail("The ${module_name} module is not supported on an ${::osfamily} based system.") } } }