diff --git a/manifests/client.pp b/manifests/client.pp index deddbaaf..2b9f4b42 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -18,5 +18,7 @@ class gnocchi::client ( tag => 'openstack', } + include '::openstacklib::openstackclient' + } diff --git a/releasenotes/notes/add-openstackclient-client-ab8c46a274ff4349.yaml b/releasenotes/notes/add-openstackclient-client-ab8c46a274ff4349.yaml new file mode 100644 index 00000000..7fe57825 --- /dev/null +++ b/releasenotes/notes/add-openstackclient-client-ab8c46a274ff4349.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstackclient installation to the client class. diff --git a/spec/classes/gnocchi_client_spec.rb b/spec/classes/gnocchi_client_spec.rb index e2b13b8e..03733770 100644 --- a/spec/classes/gnocchi_client_spec.rb +++ b/spec/classes/gnocchi_client_spec.rb @@ -10,6 +10,8 @@ describe 'gnocchi::client' do :name => platform_params[:client_package_name], :tag => 'openstack', )} + + it { is_expected.to contain_class('openstacklib::openstackclient') } end on_supported_os({