aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/config.pp
blob: 9699857bb4eec278921b0c2200bde1e330eb1147 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class samba::server::config {

  file { "/etc/samba":
    ensure => directory,
    owner => "root",
    group => "root",
    mode => 0755,
  }

  file { "/etc/samba/smb.conf":
    ensure => present,
    owner => "root",
    group => "root",
    mode => 0644,
    require => [File["/etc/samba"], Class["samba::server::install"]],
    notify => Class["samba::server::service"]
  }

}