From e27652a02b3d55cc5b45a9f607dd857a1ff1a046 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Thu, 16 May 2019 09:52:24 +0800 Subject: [PATCH] Add openstackclient installation to the client class The repo is inside the openstackclient plugin commands[1]. [1]https://docs.openstack.org/python-openstackclient/latest/cli/plugin-commands.html Change-Id: I94d00a6ef9c8949b1de8f12328a8f40dc2ebf7ca --- manifests/client.pp | 2 ++ .../notes/add-openstackclient-client-9988e65542a32145.yaml | 3 +++ spec/classes/heat_client_spec.rb | 1 + 3 files changed, 6 insertions(+) create mode 100644 releasenotes/notes/add-openstackclient-client-9988e65542a32145.yaml diff --git a/manifests/client.pp b/manifests/client.pp index 67035d94..5c94b106 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -20,4 +20,6 @@ class heat::client ( tag => 'openstack', } + include '::openstacklib::openstackclient' + } diff --git a/releasenotes/notes/add-openstackclient-client-9988e65542a32145.yaml b/releasenotes/notes/add-openstackclient-client-9988e65542a32145.yaml new file mode 100644 index 00000000..7fe57825 --- /dev/null +++ b/releasenotes/notes/add-openstackclient-client-9988e65542a32145.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstackclient installation to the client class. diff --git a/spec/classes/heat_client_spec.rb b/spec/classes/heat_client_spec.rb index 62fb3b74..c7287b4b 100644 --- a/spec/classes/heat_client_spec.rb +++ b/spec/classes/heat_client_spec.rb @@ -25,6 +25,7 @@ describe 'heat::client' do ) end + it { is_expected.to contain_class('openstacklib::openstackclient') } end on_supported_os({