Revision 05134134
Added by Eric Helms over 8 years ago
spec/classes/candlepin_config_spec.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
describe 'with ssl_port' do
|
||
let :pre_condition do
|
||
"class {'candlepin':
|
||
ssl_port => 9070,
|
||
}"
|
||
end
|
||
|
||
it "should setup the tomcat config file" do
|
||
should contain_file('/etc/tomcat6/server.xml').
|
||
with_content(/^ <Connector port="9070" protocol="HTTP\/1.1" SSLEnabled="true"/).
|
||
with({})
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
Allow changing deployment port