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, 10 insertions, 0 deletions
diff --git a/manifests/server/service.pp b/manifests/server/service.pp
index a8797de..1a9fbe7 100644
--- a/manifests/server/service.pp
+++ b/manifests/server/service.pp
@@ -12,4 +12,14 @@ class samba::server::service (
enable => $enable,
require => Class['samba::server::config']
}
+
+ if $nmbd_name != undef {
+ service { $nmbd_name :
+ ensure => $ensure,
+ hasrestart => false,
+ enable => $enable,
+ require => Class['samba::server::config'],
+ }
+ }
+
}