]> gitweb.fluxo.info Git - puppet-samba.git/commitdiff
samba::server::service - added missing quotes
authorJan Čapek <jan.capek@braiins.cz>
Thu, 14 Aug 2014 09:08:49 +0000 (11:08 +0200)
committerJan Čapek <jan.capek@braiins.cz>
Thu, 14 Aug 2014 09:08:49 +0000 (11:08 +0200)
- the quotes are required for future parser that doesn't automatically
  stringify any tokens

manifests/server/service.pp

index 6f26a6d49e9427a3fcdfd744b227ef8db1e8ca93..9ad5fb052372054f2cf23a4f53a8d22030857ebe 100644 (file)
@@ -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.") }
         }
       }