aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/winbind.pp
blob: 76136b9c71c99acefc4635dad264fe417224018b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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']
  }

}