blob: e6d422e2c4622a94a520d5e07b73abbce50f5072 [file] [log] [blame]
Petr Michalec6cf80e52016-07-27 09:46:53 +02001
2neutron = {
3 user: 'root',
4 group: 'neutron',
5}
6
7
8# TODO, load from control-single
9control 'neutron control' do
10 describe file('/etc/neutron/neutron.conf') do
11 it { should exist }
12 it { should be_owned_by neutron[:user] }
13 it { should be_grouped_into neutron[:group] }
14 end
15
16 describe file('/var/log/neutron') do
17 it { should be_directory }
18 end
19
20 describe file('/var/lib/neutron') do
21 it { should be_directory }
22 end
23end
24
25
26# FIXME, there is no opencontrail plugin installed nor configured
27# is the metadata dependency missing?
28#control 'neutron control cluster' do
29 #describe file('/etc/neutron/neutron.conf') do
30 #its ('content') { should match('^core_plugin.*opencontrail.*')}
31 #end
32 #describe file('/etc/neutron/plugins/opencontrail') do
33 #it { should be_directory }
34 #end
35#end