Fix dependency problem in class swift
Class swift requires class['ssh::server::install'], otherwise it will complain and fail to compile the catalog. Change-Id: Ieeef735cc3e78bb6a6b514c711e5b87a861ee31b
This commit is contained in:
@@ -18,8 +18,7 @@ describe 'swift::ringbuilder' do
|
||||
|
||||
let :pre_condition do
|
||||
"class { memcached: max_memory => 1}
|
||||
class { swift: swift_hash_suffix => string }
|
||||
class { 'ssh::server::install': }"
|
||||
class { swift: swift_hash_suffix => string }"
|
||||
end
|
||||
|
||||
it 'should rebalance the ring for all ring types' do
|
||||
@@ -60,7 +59,6 @@ describe 'swift::ringbuilder' do
|
||||
let :pre_condition do
|
||||
'class { memcached: max_memory => 1}
|
||||
class { swift: swift_hash_suffix => string }
|
||||
class { "ssh::server::install": }
|
||||
ring_object_device { "127.0.0.1:6000/1":
|
||||
zone => 1,
|
||||
weight => 1,
|
||||
|
||||
Reference in New Issue
Block a user