Skip to content

Commit

Permalink
Rename QUOTAS section for quotas
Browse files Browse the repository at this point in the history
Quotas section in neutron.conf was renamed from [QUOTAS]
to [quotas] in Havana.

Closes-bug: #1341657
Change-Id: I757a804ac846cc96a80bd76994d274b890885625
(cherry picked from commit 4ab8a0e)
  • Loading branch information
mgagne committed Jul 24, 2014
1 parent 6f106f1 commit 7abb13a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions manifests/quota.pp
Original file line number Diff line number Diff line change
Expand Up @@ -111,24 +111,24 @@
) {

neutron_config {
'QUOTAS/default_quota': value => $default_quota;
'QUOTAS/quota_network': value => $quota_network;
'QUOTAS/quota_subnet': value => $quota_subnet;
'QUOTAS/quota_port': value => $quota_port;
'QUOTAS/quota_router': value => $quota_router;
'QUOTAS/quota_floatingip': value => $quota_floatingip;
'QUOTAS/quota_security_group': value => $quota_security_group;
'QUOTAS/quota_security_group_rule': value => $quota_security_group_rule;
'QUOTAS/quota_driver': value => $quota_driver;
'QUOTAS/quota_firewall': value => $quota_firewall;
'QUOTAS/quota_firewall_policy': value => $quota_firewall_policy;
'QUOTAS/quota_firewall_rule': value => $quota_firewall_rule;
'QUOTAS/quota_health_monitor': value => $quota_health_monitor;
'QUOTAS/quota_items': value => $quota_items;
'QUOTAS/quota_member': value => $quota_member;
'QUOTAS/quota_network_gateway': value => $quota_network_gateway;
'QUOTAS/quota_packet_filter': value => $quota_packet_filter;
'QUOTAS/quota_pool': value => $quota_pool;
'QUOTAS/quota_vip': value => $quota_vip;
'quotas/default_quota': value => $default_quota;
'quotas/quota_network': value => $quota_network;
'quotas/quota_subnet': value => $quota_subnet;
'quotas/quota_port': value => $quota_port;
'quotas/quota_router': value => $quota_router;
'quotas/quota_floatingip': value => $quota_floatingip;
'quotas/quota_security_group': value => $quota_security_group;
'quotas/quota_security_group_rule': value => $quota_security_group_rule;
'quotas/quota_driver': value => $quota_driver;
'quotas/quota_firewall': value => $quota_firewall;
'quotas/quota_firewall_policy': value => $quota_firewall_policy;
'quotas/quota_firewall_rule': value => $quota_firewall_rule;
'quotas/quota_health_monitor': value => $quota_health_monitor;
'quotas/quota_items': value => $quota_items;
'quotas/quota_member': value => $quota_member;
'quotas/quota_network_gateway': value => $quota_network_gateway;
'quotas/quota_packet_filter': value => $quota_packet_filter;
'quotas/quota_pool': value => $quota_pool;
'quotas/quota_vip': value => $quota_vip;
}
}
2 changes: 1 addition & 1 deletion spec/classes/neutron_quota_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

it 'configures quota in neutron.conf' do
params_hash.each_pair do |config,value|
should contain_neutron_config("QUOTAS/#{config}").with_value( value )
should contain_neutron_config("quotas/#{config}").with_value( value )
end
end
end
Expand Down

0 comments on commit 7abb13a

Please sign in to comment.