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:
Mathieu Gagné 2013-10-29 22:56:31 -04:00
parent c9090bf724
commit e2e39f0ede
17 changed files with 36 additions and 15 deletions

View File

@ -56,6 +56,7 @@ class swift::proxy(
) {
include swift::params
include concat::setup
validate_bool($account_autocreate)
validate_bool($allow_account_management)

View File

@ -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$')

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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]/) }

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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