aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-30 14:11:12 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-30 14:11:12 -0200
commit9db11c33015175cc0d5f867816a54e5449df6405 (patch)
tree8861bedfb5b59d1306213aca07935431d18b7d69
parent6838b2f584100a366aed81fdef09cde159e7044b (diff)
downloadpuppet-samba-develop.tar.gz
puppet-samba-develop.tar.bz2
Better way to specify service name for debiandevelop
-rw-r--r--manifests/server/params.pp10
1 files changed, 4 insertions, 6 deletions
diff --git a/manifests/server/params.pp b/manifests/server/params.pp
index 6dad5ce..77101d6 100644
--- a/manifests/server/params.pp
+++ b/manifests/server/params.pp
@@ -6,12 +6,10 @@ class samba::server::params {
'Debian': {
case $::operatingsystem {
'Debian': {
- $service_name = 'smbd'
- $nmbd_name = 'nmbd'
- #case $::operatingsystemmajrelease {
- # '8' : { $service_name = 'smbd' }
- # default: { $service_name = 'samba' }
- #}
+ case $::operatingsystemmajrelease {
+ '7' : { $service_name = 'samba' }
+ default: { $service_name = 'smbd' }
+ }
}
'Ubuntu': {
$service_name = 'smbd'