Browse Source

Tag all Aodh packages

Tag evaluator, listener and notifier.

Change-Id: I2a581c186d1bd70b1a1657b4282953a59634ea10
changes/90/239290/3
Emilien Macchi 7 years ago
parent
commit
cd0920ff96
  1. 3
      manifests/evaluator.pp
  2. 3
      manifests/listener.pp
  3. 3
      manifests/notifier.pp
  4. 3
      spec/classes/aodh_evaluator_spec.rb
  5. 3
      spec/classes/aodh_listener_spec.rb
  6. 3
      spec/classes/aodh_notifier_spec.rb

3
manifests/evaluator.pp

@ -36,7 +36,8 @@ class aodh::evaluator (
Package[$::aodh::params::evaluator_package_name] -> Service['aodh-evaluator']
ensure_resource( 'package', [$::aodh::params::evaluator_package_name],
{ ensure => $package_ensure }
{ ensure => $package_ensure,
tag => ['openstack', 'aodh-package'] }
)
if $manage_service {

3
manifests/listener.pp

@ -25,7 +25,8 @@ class aodh::listener (
Package[$::aodh::params::listener_package_name] -> Service['aodh-listener']
ensure_resource( 'package', [$::aodh::params::listener_package_name],
{ ensure => $package_ensure }
{ ensure => $package_ensure,
tag => ['openstack', 'aodh-package'] }
)
if $manage_service {

3
manifests/notifier.pp

@ -25,7 +25,8 @@ class aodh::notifier (
Package[$::aodh::params::notifier_package_name] -> Service['aodh-notifier']
ensure_resource( 'package', [$::aodh::params::notifier_package_name],
{ ensure => $package_ensure }
{ ensure => $package_ensure,
tag => ['openstack', 'aodh-package'] }
)
if $manage_service {

3
spec/classes/aodh_evaluator_spec.rb

@ -29,7 +29,8 @@ describe 'aodh::evaluator' do
it 'installs aodh-evaluator package' do
is_expected.to contain_package(platform_params[:evaluator_package_name]).with(
:ensure => 'present'
:ensure => 'present',
:tag => ['openstack', 'aodh-package']
)
end

3
spec/classes/aodh_listener_spec.rb

@ -15,7 +15,8 @@ describe 'aodh::listener' do
it 'installs aodh-listener package' do
is_expected.to contain_package(platform_params[:listener_package_name]).with(
:ensure => 'present'
:ensure => 'present',
:tag => ['openstack', 'aodh-package']
)
end

3
spec/classes/aodh_notifier_spec.rb

@ -15,7 +15,8 @@ describe 'aodh::notifier' do
it 'installs aodh-notifier package' do
is_expected.to contain_package(platform_params[:notifier_package_name]).with(
:ensure => 'present'
:ensure => 'present',
:tag => ['openstack', 'aodh-package']
)
end

Loading…
Cancel
Save