Use new openstackclient tag
This looses dependency using the new openstackclient tag, which requires only packages actually related to openstack CLI. Depends-on: https://review.opendev.org/899594 Change-Id: I43d58b73daf5f3113f7f5800164443ad8875a4cc
This commit is contained in:
@@ -21,7 +21,7 @@ in a future release.")
|
|||||||
package { 'python-neutronclient':
|
package { 'python-neutronclient':
|
||||||
ensure => $package_ensure,
|
ensure => $package_ensure,
|
||||||
name => $::neutron::params::client_package,
|
name => $::neutron::params::client_package,
|
||||||
tag => ['neutron-support-package', 'openstack'],
|
tag => 'openstack',
|
||||||
}
|
}
|
||||||
|
|
||||||
include openstacklib::openstackclient
|
include openstacklib::openstackclient
|
||||||
|
@@ -94,8 +94,8 @@ class neutron::deps {
|
|||||||
# will have clients available to create resources. This tag handles the
|
# will have clients available to create resources. This tag handles the
|
||||||
# openstackclient but indirectly since the client is not available in
|
# openstackclient but indirectly since the client is not available in
|
||||||
# all catalogs that don't need the client class (like many spec tests)
|
# all catalogs that don't need the client class (like many spec tests)
|
||||||
Package<| tag == 'openstack'|>
|
Package<| tag == 'openstackclient'|>
|
||||||
~> Anchor['neutron::service::end']
|
-> Anchor['neutron::service::end']
|
||||||
|
|
||||||
# Installation or config changes will always restart services.
|
# Installation or config changes will always restart services.
|
||||||
Anchor['neutron::install::end'] ~> Anchor['neutron::service::begin']
|
Anchor['neutron::install::end'] ~> Anchor['neutron::service::begin']
|
||||||
|
@@ -9,7 +9,7 @@ describe 'neutron::client' do
|
|||||||
should contain_package('python-neutronclient').with(
|
should contain_package('python-neutronclient').with(
|
||||||
:ensure => 'present',
|
:ensure => 'present',
|
||||||
:name => platform_params[:client_package],
|
:name => platform_params[:client_package],
|
||||||
:tag => ['neutron-support-package', 'openstack']
|
:tag => 'openstack',
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user