Fix swift quota filter names
Align account_quotas and container_quotas filter names to prevent swift-proxy from tracing back when quotas are enabled. Change-Id: I835b05fa5d9eb1fb00cc8309d78bafcd4969d0d3 Closes-Bug: #1323761
This commit is contained in:
@@ -37,7 +37,7 @@ describe 'swift::proxy::account_quotas' do
|
||||
"/var/lib/puppet/concat/_etc_swift_proxy-server.conf/fragments/80_swift_account_quotas"
|
||||
end
|
||||
|
||||
it { should contain_file(fragment_file).with_content(/\[filter:account-quotas\]/) }
|
||||
it { should contain_file(fragment_file).with_content(/\[filter:account_quotas\]/) }
|
||||
it { should contain_file(fragment_file).with_content(/use = egg:swift#account_quotas/) }
|
||||
|
||||
end
|
||||
|
@@ -37,7 +37,7 @@ describe 'swift::proxy::container_quotas' do
|
||||
"/var/lib/puppet/concat/_etc_swift_proxy-server.conf/fragments/81_swift_container_quotas"
|
||||
end
|
||||
|
||||
it { should contain_file(fragment_file).with_content(/\[filter:container-quotas\]/) }
|
||||
it { should contain_file(fragment_file).with_content(/\[filter:container_quotas\]/) }
|
||||
it { should contain_file(fragment_file).with_content(/use = egg:swift#container_quotas/) }
|
||||
|
||||
end
|
||||
|
@@ -1,4 +1,4 @@
|
||||
|
||||
[filter:account-quotas]
|
||||
[filter:account_quotas]
|
||||
use = egg:swift#account_quotas
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
|
||||
[filter:container-quotas]
|
||||
[filter:container_quotas]
|
||||
use = egg:swift#container_quotas
|
||||
|
||||
|
Reference in New Issue
Block a user