Revision a8bff754
Added by Michael Moll about 8 years ago
spec/classes/foreman_proxy__config__spec.rb | ||
---|---|---|
|
||
it 'should include tftp' do
|
||
should contain_class('foreman_proxy::tftp')
|
||
should contain_class('tftp')
|
||
end
|
||
|
||
it 'should not include dns' do
|
||
... | ... | |
end
|
||
end
|
||
|
||
context 'with tftp_managed => false' do
|
||
let :pre_condition do
|
||
'class {"foreman_proxy":
|
||
tftp_managed => false,
|
||
}'
|
||
end
|
||
|
||
it 'should include the foreman-proxy tftp class' do
|
||
should contain_class('foreman_proxy::tftp')
|
||
end
|
||
|
||
it 'should not include the ::tftp class' do
|
||
should_not contain_class('tftp')
|
||
end
|
||
end
|
||
|
||
context 'with bmc' do
|
||
let :pre_condition do
|
||
'class {"foreman_proxy":
|
Also available in: Unified diff
add tftp_managed parameter (#243)