Updated case to support puppet 4
This commit is contained in:
parent
8a0cce7544
commit
6bca0ed5d8
@ -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.")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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": [
|
||||
|
Loading…
Reference in New Issue
Block a user