aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/winbind.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/winbind.pp')
-rw-r--r--manifests/server/winbind.pp16
1 files changed, 16 insertions, 0 deletions
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']
+ }
+
+}