diff options
author | Marc <mmontgomery@pcch.org> | 2012-08-24 12:32:06 -0400 |
---|---|---|
committer | Marc <mmontgomery@pcch.org> | 2012-08-24 12:32:06 -0400 |
commit | f7ea7901aa2b203b08dc8f33ac0a1622b2a9c795 (patch) | |
tree | 6f209a37188f0923e75fefec9bd161a6fbb20b92 /manifests/server/config.pp | |
parent | 1d947e24a1d2fdf060df76a3925a079fde4c0901 (diff) | |
parent | 7c10f82e1bf5e0d79283efdcffe154f3411486ee (diff) | |
download | puppet-samba-f7ea7901aa2b203b08dc8f33ac0a1622b2a9c795.tar.gz puppet-samba-f7ea7901aa2b203b08dc8f33ac0a1622b2a9c795.tar.bz2 |
Merge branch 'master' of https://github.com/ajjahn/puppet-samba
Conflicts:
manifests/server.pp
Diffstat (limited to 'manifests/server/config.pp')
-rw-r--r-- | manifests/server/config.pp | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/manifests/server/config.pp b/manifests/server/config.pp index e9b1ed9..9699857 100644 --- a/manifests/server/config.pp +++ b/manifests/server/config.pp @@ -1,11 +1,19 @@ class samba::server::config { - + + file { "/etc/samba": + ensure => directory, + owner => "root", + group => "root", + mode => 0755, + } + file { "/etc/samba/smb.conf": - ensure => $ensure, - owner => root, - group => root, - require => Class["samba::server::install"], + ensure => present, + owner => "root", + group => "root", + mode => 0644, + require => [File["/etc/samba"], Class["samba::server::install"]], notify => Class["samba::server::service"] } - -}
\ No newline at end of file + +} |