From ea83802dcbe0f3fafc37907e6e9a57179b122234 Mon Sep 17 00:00:00 2001 From: Jan Kanis Date: Wed, 22 Jul 2015 11:33:05 +0200 Subject: Also start nmbd on ubuntu (and other systems that split out smbd and nmbd service configuration files) --- manifests/server/service.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifests/server/service.pp') 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'], + } + } + } -- cgit v1.2.3