Revision d2124768
Added by Dominic Cleal over 7 years ago
spec/classes/foreman_config_passenger_spec.rb | ||
---|---|---|
} end
|
||
|
||
it 'should include apache with modules' do
|
||
should contain_class('apache').that_comes_before('Anchor[foreman::config::passenger_end]')
|
||
should contain_class('apache')
|
||
should contain_class('apache::mod::headers')
|
||
should contain_class('apache::mod::passenger')
|
||
end
|
Also available in: Unified diff
Anchor Service[httpd] inside foreman::service
Ensures that specifying a resource happens before foreman::service (e.g.
cert generation) will occur before the service is started.
The apache class is no longer run before foreman::config, only
foreman::service (as it contains the service too.)