Merge "Stop calling ::concat::setup"
This commit is contained in:
@@ -160,8 +160,6 @@ define swift::storage::server(
|
||||
|
||||
include "::swift::storage::${type}"
|
||||
|
||||
include ::concat::setup
|
||||
|
||||
validate_re($name, '^\d+$')
|
||||
validate_re($type, '^object|container|account$')
|
||||
validate_array($pipeline)
|
||||
|
@@ -27,8 +27,7 @@ describe 'swift::proxy::account_quotas' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,10 +7,7 @@ describe 'swift::proxy::authtoken' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'
|
||||
include concat::setup
|
||||
concat { "/etc/swift/proxy-server.conf": }
|
||||
'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
describe 'when using the default signing directory' do
|
||||
|
@@ -27,8 +27,7 @@ describe 'swift::proxy::bulk' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -11,8 +11,7 @@ describe 'swift::proxy::cache' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }
|
||||
'concat { "/etc/swift/proxy-server.conf": }
|
||||
class { "memcached": max_memory => 1 }'
|
||||
end
|
||||
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::catch_errors' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -9,8 +9,7 @@ describe 'swift::proxy::ceilometer' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }
|
||||
'concat { "/etc/swift/proxy-server.conf": }
|
||||
class { "swift":
|
||||
swift_hash_suffix => "dummy"
|
||||
}'
|
||||
|
@@ -27,8 +27,7 @@ describe 'swift::proxy::container_quotas' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::crossdomain' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::formpost' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::gatekeeper' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::healthcheck' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -11,10 +11,7 @@ describe 'swift::proxy::keystone' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'
|
||||
include concat::setup
|
||||
concat { "/etc/swift/proxy-server.conf": }
|
||||
'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
it { is_expected.to contain_file(fragment_file).with_content(/[filter:keystone]/) }
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::ratelimit' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::s3token' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::slo' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::staticweb' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::swauth' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -8,8 +8,7 @@ describe 'swift::proxy::swift3' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -16,8 +16,7 @@ describe 'swift::proxy::tempauth' do
|
||||
let :params do default_params end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@@ -7,8 +7,7 @@ describe 'swift::proxy::tempurl' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
Reference in New Issue
Block a user