/[adm]/puppet/modules/puppet/manifests/thin.pp
ViewVC logotype

Annotation of /puppet/modules/puppet/manifests/thin.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2684 - (hide annotations) (download)
Sun Mar 25 12:20:29 2012 UTC (9 years, 5 months ago) by misc
File size: 994 byte(s)
add forgotten module rename
1 misc 2448 class puppet::thin {
2     package { 'ruby-thin': }
3 misc 2449
4 misc 2681 include apache::mod::ssl
5 misc 2684 include apache::mod::proxy
6 misc 2449
7     apache::vhost_other_app { 'puppet_proxy':
8 misc 2645 vhost_file => 'puppet/apache_proxy_vhost.conf',
9 misc 2449 }
10 misc 2645
11     apache::config { '/etc/httpd/conf.d/puppet.conf':
12     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 misc 2645 content => template('puppet/thin.yml'),
18     notify => Service[$service_name],
19 misc 2451 }
20 misc 2452
21     file { '/usr/local/share/puppet.config.ru':
22     content => template('puppet/config.ru'),
23     }
24 misc 2453
25     service { $service_name:
26     provider => base,
27 misc 2645 require => [ Package['ruby-thin'],
28     File['/etc/puppet/thin.yml'],
29     File['/usr/local/share/puppet.config.ru']],
30 misc 2453 start => 'thin -C /etc/puppet/thin.yml start',
31     stop => 'thin -C /etc/puppet/thin.yml stop',
32     restart => 'thin -C /etc/puppet/thin.yml restart',
33     }
34 misc 2448 }

  ViewVC Help
Powered by ViewVC 1.1.28