Project

General

Profile

« Previous | Next » 

Revision 17ab2608

Added by Ewoud Kohl van Wijngaarden about 10 years ago

refs #4345: Add a server_ca_proxy

http://docs.puppetlabs.com/guides/scaling_multiple_masters.html#option-2-proxy-certificate-traffic
describes how to set up a proxy CA. This adds a parameter to set up the
ca proxy on the puppet master.

View differences:

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