Use new openstackclient tag
This looses dependency using the new openstackclient tag, which requires only packages actually related to openstack CLI. Also, glanceclient is not required by glance itself so the support package tag can be removed. Depends-on: https://review.opendev.org/899594 Change-Id: I50f0775a2f20b9b4f3aca51840cb4ab48ab14120
This commit is contained in:
parent
0c4ecf7f2c
commit
6c161ee7f8
|
@ -16,7 +16,7 @@ class glance::client(
|
|||
package { 'python-glanceclient':
|
||||
ensure => $ensure,
|
||||
name => $::glance::params::client_package_name,
|
||||
tag => ['openstack', 'glance-support-package'],
|
||||
tag => 'openstack',
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -42,8 +42,8 @@ class glance::deps {
|
|||
# will have clients available to create resources. This tag handles the
|
||||
# openstackclient but indirectly since the client is not available in
|
||||
# all catalogs that don't need the client class (like many spec tests)
|
||||
Package<| tag == 'openstack'|>
|
||||
~> Anchor['glance::service::end']
|
||||
Package<| tag == 'openstackclient'|>
|
||||
-> Anchor['glance::service::end']
|
||||
|
||||
# All other inifile providers need to be processed in the config block
|
||||
Anchor['glance::config::begin'] -> Glance_api_paste_ini<||> ~> Anchor['glance::config::end']
|
||||
|
|
|
@ -8,7 +8,7 @@ describe 'glance::client' do
|
|||
it { is_expected.to contain_package('python-glanceclient').with(
|
||||
:name => platform_params[:client_package_name],
|
||||
:ensure => 'present',
|
||||
:tag => ['openstack', 'glance-support-package'],
|
||||
:tag => 'openstack',
|
||||
)
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue