fix lowercase for section agent in neutron.conf

agent for root_helper in neutron.conf is lowercase

Change-Id: I3d10df0298fc94c5bab5c855f8b65a562f14382c
This commit is contained in:
Tri Hoang Vo 2014-04-14 10:57:18 +02:00
parent 9f92002b47
commit 71bd36760d
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ class neutron (
'DEFAULT/allow_overlapping_ips': value => $allow_overlapping_ips;
'DEFAULT/control_exchange': value => $control_exchange;
'DEFAULT/rpc_backend': value => $rpc_backend;
'AGENT/root_helper': value => $root_helper;
'agent/root_helper': value => $root_helper;
'agent/report_interval': value => $report_interval;
}

View File

@ -109,7 +109,7 @@ describe 'neutron' do
should contain_neutron_config('DEFAULT/allow_sorting').with_value(false)
should contain_neutron_config('DEFAULT/allow_overlapping_ips').with_value(false)
should contain_neutron_config('DEFAULT/control_exchange').with_value('neutron')
should contain_neutron_config('AGENT/root_helper').with_value('sudo neutron-rootwrap /etc/neutron/rootwrap.conf')
should contain_neutron_config('agent/root_helper').with_value('sudo neutron-rootwrap /etc/neutron/rootwrap.conf')
should contain_neutron_config('agent/report_interval').with_value('30')
end
end