aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/winbind.pp
blob: 68128e522533058309862abec410e6c7ebf66f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# == Class samba::server::winbind
#
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']
  }

}