Revert "Fix compatibility with latest puppetlabs-concat"
This fix broke everything. Lets revert it.
This reverts commit 23cc3616ce
.
Change-Id: I9ce82c2e8f65606fbcedb4e2a4b37bc81edc5656
This commit is contained in:
parent
c9090bf724
commit
e2e39f0ede
@ -56,6 +56,7 @@ class swift::proxy(
|
||||
) {
|
||||
|
||||
include swift::params
|
||||
include concat::setup
|
||||
|
||||
validate_bool($account_autocreate)
|
||||
validate_bool($allow_account_management)
|
||||
|
@ -34,6 +34,7 @@ define swift::storage::server(
|
||||
}
|
||||
|
||||
include "swift::storage::${type}"
|
||||
include concat::setup
|
||||
|
||||
validate_re($name, '^\d+$')
|
||||
validate_re($type, '^object|container|account$')
|
||||
|
@ -9,7 +9,10 @@ describe 'swift::proxy::authtoken' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'
|
||||
include concat::setup
|
||||
concat { "/etc/swift/proxy-server.conf": }
|
||||
'
|
||||
end
|
||||
|
||||
describe 'when using the default signing directory' do
|
||||
|
@ -12,7 +12,8 @@ describe 'swift::proxy::cache' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }
|
||||
class { "memcached": max_memory => 1 }'
|
||||
end
|
||||
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::catch_errors' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -10,7 +10,8 @@ describe 'swift::proxy::ceilometer' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }
|
||||
class { "ssh::server::install": }
|
||||
class { "swift":
|
||||
swift_hash_suffix => "dummy"
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::formpost' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::healthcheck' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -13,7 +13,10 @@ describe 'swift::proxy::keystone' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'
|
||||
include concat::setup
|
||||
concat { "/etc/swift/proxy-server.conf": }
|
||||
'
|
||||
end
|
||||
|
||||
it { should contain_file(fragment_file).with_content(/[filter:keystone]/) }
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::ratelimit' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::s3token' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::staticweb' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::swauth' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::swift3' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -9,7 +9,8 @@ describe 'swift::proxy::tempurl' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/proxy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/proxy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -12,7 +12,8 @@ describe 'swift::storage::filter::healthcheck' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/dummy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/dummy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
@ -12,7 +12,8 @@ describe 'swift::storage::filter::recon' do
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'concat { "/etc/swift/dummy-server.conf": }'
|
||||
'class { "concat::setup": }
|
||||
concat { "/etc/swift/dummy-server.conf": }'
|
||||
end
|
||||
|
||||
let :fragment_file do
|
||||
|
Loading…
Reference in New Issue
Block a user