Tag all Swift packages
Some users wish to override the default package provider by their own. Tag all packages with the 'openstack' to allow mass resource attributes override using resource collectors. Change-Id: Ib0cec660f134e266006f41572cafcc4661ca1e67 Closes-bug: #1391209 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
@@ -46,7 +46,10 @@ describe 'swift::storage::generic' do
|
||||
let :params do
|
||||
param_set
|
||||
end
|
||||
it { is_expected.to contain_package("swift-#{t}").with_ensure(param_hash[:package_ensure]) }
|
||||
it { is_expected.to contain_package("swift-#{t}").with(
|
||||
:ensure => param_hash[:package_ensure],
|
||||
:tag => 'openstack'
|
||||
)}
|
||||
it { is_expected.to contain_service("swift-#{t}").with(
|
||||
:ensure => 'running',
|
||||
:enable => true,
|
||||
|
Reference in New Issue
Block a user