diff --git a/manifests/proxy/account_quotas.pp b/manifests/proxy/account_quotas.pp index 2d50920d..94a68ee6 100644 --- a/manifests/proxy/account_quotas.pp +++ b/manifests/proxy/account_quotas.pp @@ -19,7 +19,7 @@ # class swift::proxy::account_quotas() { - concat::fragment { 'swift_proxy_account_quotas': + concat::fragment { 'swift_account_quotas': target => '/etc/swift/proxy-server.conf', content => template('swift/proxy/account_quotas.conf.erb'), order => '80', diff --git a/manifests/proxy/container_quotas.pp b/manifests/proxy/container_quotas.pp index b3c9b2d3..19e95129 100644 --- a/manifests/proxy/container_quotas.pp +++ b/manifests/proxy/container_quotas.pp @@ -19,7 +19,7 @@ # class swift::proxy::container_quotas() { - concat::fragment { 'swift_proxy_container_quotas': + concat::fragment { 'swift_container_quotas': target => '/etc/swift/proxy-server.conf', content => template('swift/proxy/container_quotas.conf.erb'), order => '81', diff --git a/spec/classes/swift_proxy_account_quotas_spec.rb b/spec/classes/swift_proxy_account_quotas_spec.rb index 12a4a2d4..03a4794e 100644 --- a/spec/classes/swift_proxy_account_quotas_spec.rb +++ b/spec/classes/swift_proxy_account_quotas_spec.rb @@ -34,7 +34,7 @@ describe 'swift::proxy::account_quotas' do end let :fragment_file do - "/var/lib/puppet/concat/_etc_swift_proxy-server.conf/fragments/80_swift_proxy_account_quotas" + "/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\]/) } diff --git a/spec/classes/swift_proxy_container_quotas_spec.rb b/spec/classes/swift_proxy_container_quotas_spec.rb index fdb77265..476135df 100644 --- a/spec/classes/swift_proxy_container_quotas_spec.rb +++ b/spec/classes/swift_proxy_container_quotas_spec.rb @@ -34,7 +34,7 @@ describe 'swift::proxy::container_quotas' do end let :fragment_file do - "/var/lib/puppet/concat/_etc_swift_proxy-server.conf/fragments/81_swift_proxy_container_quotas" + "/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\]/) }