diff --git a/manifests/agents/ovs.pp b/manifests/agents/ovs.pp index 289f67f17..978c68e76 100644 --- a/manifests/agents/ovs.pp +++ b/manifests/agents/ovs.pp @@ -144,7 +144,6 @@ } if $::neutron::params::ovs_cleanup_service { service {'ovs-cleanup-service': - ensure => $service_ensure, name => $::neutron::params::ovs_cleanup_service, enable => $enabled, } diff --git a/spec/classes/neutron_agents_ovs_spec.rb b/spec/classes/neutron_agents_ovs_spec.rb index 9c1c58181..b827baa2d 100644 --- a/spec/classes/neutron_agents_ovs_spec.rb +++ b/spec/classes/neutron_agents_ovs_spec.rb @@ -185,8 +185,7 @@ it 'configures neutron ovs cleanup service' do should contain_service('ovs-cleanup-service').with( :name => platform_params[:ovs_cleanup_service], - :enable => true, - :ensure => 'running' + :enable => true ) should contain_package('neutron-plugin-ovs').with_before(/Service\[ovs-cleanup-service\]/) end