Class
samba::server
In:
/modules/samba/manifests/server.pp
Parent:
samba::params
Main smb.conf options, ignored if not using the template
Resources
File["/etc/samba/smb.conf"]
Package["samba"]
Service[$samba::params::service]
Resources
File["/etc/samba/smb.conf"]
require => Package["samba"]
content => template("samba/smb.conf.erb")
Package["samba"]
ensure => installed
Main package and service
Service[$samba::params::service]
enable => true
ensure => running
hasstatus => true
subscribe => File["/etc/samba/smb.conf"]
[Validate]