Introduce new 'openstackclient' tag

... so that we can define dependencies on client packages.

Change-Id: If6f54d9b63ebe0dbc7e82795d0ba3fb88551086e
This commit is contained in:
Takashi Kajinami
2023-10-30 23:45:50 +09:00
parent 22a9bd19ca
commit 3f0bda3f6c
2 changed files with 3 additions and 3 deletions

View File

@@ -19,6 +19,6 @@ class openstacklib::openstackclient(
ensure_packages($package_name, {
'ensure' => $package_ensure,
'tag' => 'openstack'
'tag' => ['openstack', 'openstackclient']
})
}

View File

@@ -5,7 +5,7 @@ describe 'openstacklib::openstackclient' do
context 'with default params' do
it { should contain_package(platform_params[:openstackclient_package_name]).with(
:ensure => 'installed',
:tag => 'openstack'
:tag => ['openstack', 'openstackclient']
)}
end
@@ -18,7 +18,7 @@ describe 'openstacklib::openstackclient' do
it { should contain_package('my-openstackclient').with(
:ensure => 'installed',
:tag => 'openstack'
:tag => ['openstack', 'openstackclient']
)}
end
end