diff --git a/manifests/client.pp b/manifests/client.pp index 4fb064f..0234310 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -16,5 +16,6 @@ class mistral::client( package { 'python-mistralclient': ensure => $package_ensure, name => $::mistral::params::client_package, + tag => ['openstack', 'mistral-package'], } } diff --git a/spec/classes/mistral_client_spec.rb b/spec/classes/mistral_client_spec.rb new file mode 100644 index 0000000..62604f0 --- /dev/null +++ b/spec/classes/mistral_client_spec.rb @@ -0,0 +1,13 @@ +require 'spec_helper' + +describe 'mistral::client' do + on_supported_os.each do |os, facts| + let(:facts) { facts } + context "on #{os}" do + it { is_expected.to contain_package('python-mistralclient') + .with(:ensure => 'present', + :tag => ['openstack', + 'mistral-package']) } + end + end +end