aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/service.pp
blob: a8797deeb57800e968b5a75d5a244027cab713fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# == Class samba::server::server
#
class samba::server::service (
  $ensure = running,
  $enable = true
) inherits samba::server::params {

  service { $service_name :
    ensure      => $ensure,
    hasstatus   => true,
    hasrestart  => true,
    enable      => $enable,
    require     => Class['samba::server::config']
  }
}