2015-04-16 18:04:30 -04:00
|
|
|
# == Class: nslcd::params
|
|
|
|
#
|
|
|
|
# Sets the default parameters for the nslcd class.
|
2021-11-06 07:36:59 -04:00
|
|
|
#
|
|
|
|
class nslcd::params
|
|
|
|
{
|
|
|
|
case $::osfamily
|
|
|
|
{
|
|
|
|
'Debian':
|
|
|
|
{
|
2019-03-08 14:09:38 -05:00
|
|
|
$package_name = 'nslcd'
|
2015-11-23 18:42:05 -05:00
|
|
|
$gid = 'nslcd'
|
|
|
|
$config_group = 'nslcd'
|
|
|
|
$config_mode = '0640'
|
2015-04-16 18:04:30 -04:00
|
|
|
}
|
2021-11-06 07:36:59 -04:00
|
|
|
'RedHat':
|
|
|
|
{
|
2015-11-24 11:02:11 -05:00
|
|
|
$package_name = 'nss-pam-ldapd'
|
|
|
|
$gid = 'ldap'
|
|
|
|
$config_group = 'root'
|
|
|
|
$config_mode = '0600'
|
2015-04-16 18:04:30 -04:00
|
|
|
}
|
2021-11-06 07:36:59 -04:00
|
|
|
default:
|
|
|
|
{
|
2015-04-16 18:04:30 -04:00
|
|
|
fail("The ${module_name} module is not supported on an ${::osfamily} based system.")
|
|
|
|
}
|
|
|
|
}
|
2021-11-06 07:36:59 -04:00
|
|
|
}
|