aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/service.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/service.pp')
-rw-r--r--manifests/server/service.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/server/service.pp b/manifests/server/service.pp
index 9ad5fb0..fdd9104 100644
--- a/manifests/server/service.pp
+++ b/manifests/server/service.pp
@@ -7,8 +7,8 @@ class samba::server::service ($ensure = running, $enable = true) {
'Debian': {
case $::operatingsystem{
'Debian': { $service_name = 'samba' }
- 'Ubuntu': { $service_name = 'smbd'}
- default: { $service_name='samba'}
+ 'Ubuntu': { $service_name = 'smbd' }
+ default: { $service_name = 'samba' }
}
}
'Gentoo': { $service_name = 'samba' }
@@ -20,13 +20,13 @@ class samba::server::service ($ensure = running, $enable = true) {
'Linux': {
case $::operatingsystem {
'Gentoo': { $service_name = 'samba' }
- default: { fail("$::operatingsystem is not supported by this module.") }
+ default: { fail("${::operatingsystem} is not supported by this module.") }
}
}
- default: { fail("$::osfamily is not supported by this module.") }
+ default: { fail("${::osfamily} is not supported by this module.") }
}
- service { "$service_name" :
+ service { $service_name :
ensure => $ensure,
hasstatus => true,
hasrestart => true,