puppet: Fixed passenger support for puppet 3
This commit is contained in:
parent
2e3a2e5782
commit
22bacf19b4
3 changed files with 40 additions and 1 deletions
|
@ -627,7 +627,10 @@ class puppet::server::passenger {
|
|||
mode => "0444",
|
||||
owner => "puppet",
|
||||
group => "puppet",
|
||||
source => "puppet:///modules/puppet/puppet-config.ru",
|
||||
source => $::puppetversion ? {
|
||||
/^3\./ => "puppet:///modules/puppet/puppet3-config.ru",
|
||||
default => "puppet:///modules/puppet/puppet2-config.ru",
|
||||
},
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue