Revision a3483baa
Added by Ewoud Kohl van Wijngaarden about 4 years ago
spec/classes/foreman_proxy__plugin__salt_spec.rb | ||
---|---|---|
let(:pre_condition) { 'include foreman_proxy' }
|
||
|
||
describe 'with default settings' do
|
||
it { should contain_foreman_proxy__plugin('salt') }
|
||
it { should contain_foreman_proxy__plugin__module('salt') }
|
||
it 'should configure salt.yml' do
|
||
should contain_file('/etc/foreman-proxy/settings.d/salt.yml').
|
||
with({
|
Also available in: Unified diff
Introduce foreman_proxy::plugin::module
This introduces a define for plugins that have a package and a config
file, which is most of them.