blob: b7b80e3b58c1058482f38315aabba25362a3fdc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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';
}
}
|