1 |
misc |
2448 |
class puppet::thin { |
2 |
|
|
package { 'ruby-thin': } |
3 |
misc |
2449 |
|
4 |
|
|
include apache::mod_ssl |
5 |
|
|
include apache::mod_proxy |
6 |
|
|
|
7 |
|
|
apache::vhost_other_app { 'puppet_proxy': |
8 |
|
|
vhost_file => 'puppet/apache_proxy_vhost.conf', |
9 |
|
|
} |
10 |
misc |
2448 |
|
11 |
|
|
apache::config { "/etc/httpd/conf.d/puppet.conf": |
12 |
misc |
2450 |
content => "Listen 8140", |
13 |
misc |
2448 |
} |
14 |
misc |
2451 |
|
15 |
misc |
2452 |
$service_name = 'thin_puppet_master' |
16 |
misc |
2451 |
file { '/etc/puppet/thin.yml': |
17 |
|
|
content => template('puppet/thin.yml'), |
18 |
|
|
} |
19 |
misc |
2452 |
|
20 |
|
|
file { '/usr/local/share/puppet.config.ru': |
21 |
|
|
content => template('puppet/config.ru'), |
22 |
|
|
} |
23 |
misc |
2448 |
} |