diff --git a/manifests/client.pp b/manifests/client.pp index f6cb7f73..524b9b90 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -19,5 +19,7 @@ class aodh::client ( tag => 'openstack', } + include '::openstacklib::openstackclient' + } diff --git a/releasenotes/notes/add-openstackclient-client-9a93fa6590a23eb9.yaml b/releasenotes/notes/add-openstackclient-client-9a93fa6590a23eb9.yaml new file mode 100644 index 00000000..7fe57825 --- /dev/null +++ b/releasenotes/notes/add-openstackclient-client-9a93fa6590a23eb9.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstackclient installation to the client class. diff --git a/spec/classes/aodh_client_spec.rb b/spec/classes/aodh_client_spec.rb index b1b5dc4c..52095989 100644 --- a/spec/classes/aodh_client_spec.rb +++ b/spec/classes/aodh_client_spec.rb @@ -14,6 +14,8 @@ describe 'aodh::client' do :tag => 'openstack', ) end + + it { is_expected.to contain_class('openstacklib::openstackclient') } end on_supported_os({