Use new openstackclient tag
The new openstackclient tag was added so that we can get all resources about openstack CLI more easily. This adds this tag to cloudkittyclient because the package provides some sub-commands. Also make sure openstackclient is installed so that the 'openstack' command is available. Change-Id: I72aec8dd81d0470861d2019d0034bc76d6a75b8b Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -17,6 +17,8 @@ class cloudkitty::client (
|
||||
package { 'python-cloudkittyclient':
|
||||
ensure => $ensure,
|
||||
name => $cloudkitty::params::client_package_name,
|
||||
tag => 'openstack',
|
||||
tag => ['openstack', 'openstackclient'],
|
||||
}
|
||||
|
||||
include openstacklib::openstackclient
|
||||
}
|
||||
|
@@ -11,7 +11,7 @@ describe 'cloudkitty::client' do
|
||||
is_expected.to contain_package('python-cloudkittyclient').with(
|
||||
:ensure => 'present',
|
||||
:name => platform_params[:client_package_name],
|
||||
:tag => 'openstack',
|
||||
:tag => ['openstack', 'openstackclient'],
|
||||
)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user