diff --git a/manifests/client.pp b/manifests/client.pp index f62c96c..5b3557b 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -17,7 +17,7 @@ class mistral::client( package { 'python-mistralclient': ensure => $package_ensure, name => $::mistral::params::client_package, - tag => ['openstack', 'mistral-package'], + tag => ['openstack', 'openstackclient'], } include openstacklib::openstackclient diff --git a/manifests/deps.pp b/manifests/deps.pp index 9bf3393..b41e79c 100644 --- a/manifests/deps.pp +++ b/manifests/deps.pp @@ -41,8 +41,8 @@ class mistral::deps { # will have clients available to create resources. This tag handles the # openstackclient but indirectly since the client is not available in # all catalogs that don't need the client class (like many spec tests) - Package<| tag == 'openstack'|> - ~> Anchor['mistral::service::end'] + Package<| tag == 'openstackclient'|> + -> Anchor['mistral::service::end'] # Installation or config changes will always restart services. Anchor['mistral::install::end'] ~> Anchor['mistral::service::begin'] diff --git a/spec/classes/mistral_client_spec.rb b/spec/classes/mistral_client_spec.rb index 932d9f9..ec951cb 100644 --- a/spec/classes/mistral_client_spec.rb +++ b/spec/classes/mistral_client_spec.rb @@ -11,7 +11,7 @@ describe 'mistral::client' do is_expected.to contain_package('python-mistralclient').with( :ensure => 'present', :name => platform_params[:client_package], - :tag => ['openstack', 'mistral-package'] + :tag => ['openstack', 'openstackclient'] ) end