puppet: Added new host specific file share where puppet has write acccess.

This commit is contained in:
Timo Mkinen 2013-09-25 10:36:43 +03:00
parent 06eb2bdf9a
commit 5bb6659940
2 changed files with 7 additions and 2 deletions

View file

@ -5,3 +5,7 @@
[private]
path /srv/puppet/files/private/%H
allow *
[generated]
path /srv/puppet/files/generated/%H
allow *

View file

@ -361,13 +361,14 @@ class puppet::server::common inherits puppet::client {
}
file { [ "/srv/puppet/bucket",
"/srv/puppet/reports", ]:
"/srv/puppet/reports",
"/srv/puppet/files/generated", ]:
ensure => directory,
mode => "0750",
owner => $user,
group => $group,
seltype => $seltype,
require => File["/srv/puppet"],
require => [ File["/srv/puppet"], File["/srv/puppet/files"], ],
}
file { [ "/srv/puppet/files",
"/srv/puppet/files/common",