Updated case to support puppet 4

This commit is contained in:
t0xicCode 2015-11-23 18:42:05 -05:00
parent 8a0cce7544
commit 6bca0ed5d8
2 changed files with 13 additions and 12 deletions

View File

@ -23,7 +23,7 @@ class nslcd::params {
$default_service_name = 'nslcd'
case $::osfamily {
Debian: {
'debian': {
$config = $default_config
$package_name = $default_package_name
$service_name = $default_service_name
@ -34,7 +34,7 @@ class nslcd::params {
$config_mode = '0640'
}
default: {
fail("The ${module_name} module is not supported on an ${::osfamily} based system.")
fail("the ${module_name} module is not supported on an ${::osfamily} based system.")
}
}

View File

@ -18,7 +18,8 @@
"operatingsystem": "Debian",
"operatingsystemrelease": [
"6.0",
"7.0"
"7.0",
"8.0"
]
},
{
@ -32,11 +33,11 @@
"requirements": [
{
"name": "pe",
"version_requirement": "3.x"
"version_requirement": ">= 3.0.0 < 2015.3.0"
},
{
"name": "puppet",
"version_requirement": "3.x"
"version_requirement": ">= 3.0.0 < 5.0.0"
}
],
"dependencies": [