puppet: Add passenger config.ru to the module
This commit is contained in:
parent
4a071406d7
commit
979f22cda0
3 changed files with 51 additions and 1 deletions
|
@ -665,6 +665,7 @@ class puppet::server::passenger {
|
|||
owner => "root",
|
||||
group => "root",
|
||||
}
|
||||
|
||||
file { "/var/lib/passenger/puppet/config.ru":
|
||||
ensure => present,
|
||||
mode => "0444",
|
||||
|
@ -676,7 +677,10 @@ class puppet::server::passenger {
|
|||
"ubuntu" => "puppet",
|
||||
default => "root",
|
||||
},
|
||||
source => "/usr/share/puppet/ext/rack/files/config.ru",
|
||||
source => $::puppetversion ? {
|
||||
/^[0-2]\./ => "puppet:///modules/puppet/config.ru.2",
|
||||
default => "puppet:///modules/puppet/config.ru.3",
|
||||
},
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue