From 4f8e144c52f919855a41d5203f9bec7788784372 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 5 Sep 2014 11:05:23 +0200 Subject: make tmp dir puppet writeable for cache invalidations --- manifests/master/passenger.pp | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'manifests/master') 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'; } } -- cgit v1.2.3