From 32f1dc699c77ae665d8c8e39d8d9c2c3fb497df9 Mon Sep 17 00:00:00 2001 From: Lebedev Vadim Date: Mon, 18 Mar 2013 18:55:58 +0400 Subject: Add implementation join Samba server into Active Directory Conflicts: manifests/server/share.pp --- manifests/server/winbind.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 manifests/server/winbind.pp (limited to 'manifests/server/winbind.pp') diff --git a/manifests/server/winbind.pp b/manifests/server/winbind.pp new file mode 100644 index 0000000..76136b9 --- /dev/null +++ b/manifests/server/winbind.pp @@ -0,0 +1,16 @@ +class samba::server::winbind ($ensure = running, $enable = true) { + $service_name = 'winbind' + + notify { 'winbind-service': + message => 'Check winbind service', + } + + service { $service_name: + ensure => $ensure, + hasstatus => true, + hasrestart => true, + enable => $enable, + require => Class['samba::server::config'] + } + +} -- cgit v1.2.3