diff options
Diffstat (limited to 'puppet/modules/passenger/manifests/apache/centos.pp')
m--------- | puppet/modules/passenger | 0 | ||||
-rw-r--r-- | puppet/modules/passenger/manifests/apache/centos.pp | 24 |
2 files changed, 24 insertions, 0 deletions
diff --git a/puppet/modules/passenger b/puppet/modules/passenger deleted file mode 160000 -Subproject d1b46de84acf4d9e3582b64e019935fb1125f9b diff --git a/puppet/modules/passenger/manifests/apache/centos.pp b/puppet/modules/passenger/manifests/apache/centos.pp new file mode 100644 index 00000000..b7b80e3b --- /dev/null +++ b/puppet/modules/passenger/manifests/apache/centos.pp @@ -0,0 +1,24 @@ +class passenger::apache::centos inherits passenger::apache::base { + + package { 'mod_passenger': + ensure => installed, + require => Package['apache'], + } + + file { '/var/www/passenger_buffer': + ensure => directory, + require => [ Package['apache'], Package['mod_passenger'] ], + owner => apache, + group => 0, + mode => '0600'; + } + + file{ '/etc/httpd/conf.d/mod_passenger_custom.conf': + content => "PassengerUploadBufferDir /var/www/passenger_buffer\n", + require => File['/var/www/passenger_buffer'], + notify => Service['apache'], + owner => root, + group => 0, + mode => '0644'; + } +} |