Introduce new 'openstackclient' tag
... so that we can define dependencies on client packages. Change-Id: If6f54d9b63ebe0dbc7e82795d0ba3fb88551086e
This commit is contained in:
@@ -19,6 +19,6 @@ class openstacklib::openstackclient(
|
||||
|
||||
ensure_packages($package_name, {
|
||||
'ensure' => $package_ensure,
|
||||
'tag' => 'openstack'
|
||||
'tag' => ['openstack', 'openstackclient']
|
||||
})
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user