blob: b1b165c19c64d350e283dac7b113023cf10d3c3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# class to use passenger for serving puppetmaster
class puppet::puppetmaster::passenger inherits puppet::puppetmaster::base {
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;
}
file {'/etc/puppet/rack/config.ru':
source => [ "puppet://${server}/modules/site-puppet/master/config.ru",
"puppet://${server}/modules/puppet/master/config.ru" ],
owner => puppet, group => 0, mode => 0644;
}
}
|