diff --git a/manifests/api.pp b/manifests/api.pp index a0b8d33..bbf0433 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -49,6 +49,7 @@ class placement::api ( ) inherits placement::params { include placement::deps + include placement::policy if $manage_service { if $api_service_name == 'httpd' { diff --git a/spec/classes/placement_api_spec.rb b/spec/classes/placement_api_spec.rb index 0d2b347..d9c6d84 100644 --- a/spec/classes/placement_api_spec.rb +++ b/spec/classes/placement_api_spec.rb @@ -9,6 +9,7 @@ describe 'placement::api' do end it { should contain_class('placement::deps') } + it { should contain_class('placement::policy') } it { should contain_placement__generic_service('api').with( :service_name => platform_params[:service_name], :package_name => platform_params[:package_name],