From: gnieark Date: Thu, 26 Sep 2013 09:13:38 +0000 (+0200) Subject: Update service.pp X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5398d2c96c38d2a920d52c5caba06fbdf2888229;p=puppet-samba.git Update service.pp --- diff --git a/manifests/server/service.pp b/manifests/server/service.pp index 3731381..5450437 100644 --- a/manifests/server/service.pp +++ b/manifests/server/service.pp @@ -2,14 +2,15 @@ class samba::server::service ($ensure = running, $enable = true) { case $::osfamily { Redhat: { $service_name = 'smb' } - #On Debian family: Debian 7 => samba , Ubuntu => smb + #On Debian family: Debian 7 => samba , Ubuntu => smbd #Others, I don't know, hope 'samba' will works Debian: { case $::operatingsystem{ Debian: { $service_name = 'samba' } - Ubuntu: { $service_name = 'smb'} + Ubuntu: { $service_name = 'smbd'} default: { $service_name='samba'} } + } Gentoo: { $service_name = 'samba' } # Currently Gentoo has $::osfamily = "Linux". This should change in