summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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';
}
}