diff options
author | Jan Čapek <jan.capek@braiins.cz> | 2014-08-14 11:08:49 +0200 |
---|---|---|
committer | Jan Čapek <jan.capek@braiins.cz> | 2014-08-14 11:08:49 +0200 |
commit | ac0ec8147c582ec7c693ab3e310f941a3a28290a (patch) | |
tree | 6a1953dfe3e3e6c56ae57630029f229b59fa6ec3 /manifests | |
parent | 4a6081761c574525ef6aadd213a95621d077081e (diff) | |
download | puppet-samba-ac0ec8147c582ec7c693ab3e310f941a3a28290a.tar.gz puppet-samba-ac0ec8147c582ec7c693ab3e310f941a3a28290a.tar.bz2 |
samba::server::service - added missing quotes
- the quotes are required for future parser that doesn't automatically
stringify any tokens
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/server/service.pp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/manifests/server/service.pp b/manifests/server/service.pp index 6f26a6d..9ad5fb0 100644 --- a/manifests/server/service.pp +++ b/manifests/server/service.pp @@ -1,25 +1,25 @@ class samba::server::service ($ensure = running, $enable = true) { case $::osfamily { - Redhat: { $service_name = 'smb' } + 'Redhat': { $service_name = 'smb' } #On Debian family: Debian 7 => samba , Ubuntu => smbd #Others, I don't know, hope 'samba' will works - Debian: { + 'Debian': { case $::operatingsystem{ - Debian: { $service_name = 'samba' } - Ubuntu: { $service_name = 'smbd'} + 'Debian': { $service_name = 'samba' } + 'Ubuntu': { $service_name = 'smbd'} default: { $service_name='samba'} } } - Gentoo: { $service_name = 'samba' } - Archlinux: { $service_name = 'smbd' } + 'Gentoo': { $service_name = 'samba' } + 'Archlinux': { $service_name = 'smbd' } # Currently Gentoo has $::osfamily = "Linux". This should change in # Factor 1.7.0 <http://projects.puppetlabs.com/issues/17029>, so # adding workaround. - Linux: { + 'Linux': { case $::operatingsystem { - Gentoo: { $service_name = 'samba' } + 'Gentoo': { $service_name = 'samba' } default: { fail("$::operatingsystem is not supported by this module.") } } } |