1 2 3 4 5 6 7 8 9 10 11
class samba::server::service { service { 'smbd': ensure => running, hasstatus => true, hasrestart => true, enable => true, require => Class['samba::server::config'] } }