Revision 359a604f
Added by Ivan Necas about 10 years ago
modules/puppet/spec/classes/puppet_server_passenger_spec.rb | ||
---|---|---|
:operatingsystemrelease => '6.5',
|
||
} end
|
||
|
||
it 'should include the puppet vhost' do
|
||
should contain_apache__vhost('puppet')
|
||
describe 'without parameters' do
|
||
it 'should include the puppet vhost' do
|
||
should contain_apache__vhost('puppet').with({
|
||
:ssl_proxyengine => false,
|
||
})
|
||
end
|
||
end
|
||
|
||
describe 'with puppet ca' do
|
||
let :params do {
|
||
:puppet_ca_proxy => 'https://ca.example.org:8140',
|
||
} end
|
||
|
||
it 'should include the puppet vhost' do
|
||
should contain_apache__vhost('puppet').with({
|
||
:ssl_proxyengine => true,
|
||
:custom_fragment => "ProxyPassMatch ^/([^/]+/certificate.*)$ https://ca.example.org:8140/$1",
|
||
})
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
Update puppet modules