diff options
author | Jan Kanis <jan.code@jankanis.nl> | 2015-07-22 11:33:05 +0200 |
---|---|---|
committer | Jan Kanis <jan.code@jankanis.nl> | 2015-07-22 11:33:05 +0200 |
commit | ea83802dcbe0f3fafc37907e6e9a57179b122234 (patch) | |
tree | 5f65f02c446e271f27404185db641658dd7c3534 /manifests/server/service.pp | |
parent | f08c0c4d785773a73edfcb73f3797a9c80ed8871 (diff) | |
download | puppet-samba-ea83802dcbe0f3fafc37907e6e9a57179b122234.tar.gz puppet-samba-ea83802dcbe0f3fafc37907e6e9a57179b122234.tar.bz2 |
Also start nmbd on ubuntu (and other systems that split out smbd and nmbd service configuration files)
Diffstat (limited to 'manifests/server/service.pp')
-rw-r--r-- | manifests/server/service.pp | 10 |
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'], + } + } + } |