summaryrefslogtreecommitdiff
path: root/manifests/master
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-09-05 11:05:23 +0200
committermh <mh@immerda.ch>2014-09-05 11:05:23 +0200
commit4f8e144c52f919855a41d5203f9bec7788784372 (patch)
treead2abf8bac38414d557b368395ebb382c8d387a6 /manifests/master
parentb8bd7e5c9208feb09019a395374a04437a8122a4 (diff)
make tmp dir puppet writeable for cache invalidations
Diffstat (limited to 'manifests/master')
-rw-r--r--manifests/master/passenger.pp22
1 files changed, 14 insertions, 8 deletions
diff --git a/manifests/master/passenger.pp b/manifests/master/passenger.pp
index 0aa489b..9a961f9 100644
--- a/manifests/master/passenger.pp
+++ b/manifests/master/passenger.pp
@@ -1,20 +1,26 @@
# class to use passenger for serving puppetmaster
-
class puppet::master::passenger inherits puppet::master {
include ::passenger
# A reference configuration is available at :
# http://github.com/reductivelabs/puppet/tree/master/ext/rack
-
file {
- ['/etc/puppet/rack', '/etc/puppet/rack/public', '/etc/puppet/rack/tmp']:
- ensure => directory,
- owner => root, group => 0, mode => 0755;
-
+ ['/etc/puppet/rack', '/etc/puppet/rack/public' ]:
+ ensure => directory,
+ owner => root,
+ group => 0,
+ mode => '0755';
+ '/etc/puppet/rack/tmp':
+ ensure => directory,
+ owner => puppet,
+ group => 0,
+ mode => '0750';
'/etc/puppet/rack/config.ru':
- source => [ "puppet:///modules/site_puppet/master/config.ru",
+ source => ["puppet:///modules/site_puppet/master/config.ru",
"puppet:///modules/puppet/master/config.ru" ],
- owner => puppet, group => 0, mode => 0644;
+ owner => puppet,
+ group => 0,
+ mode => '0644';
}
}