Fixed key duplication in neutron-server

Plus added the yamllint to pass gate test

Change-Id: I55f40f5a138cb1f43117fa3ec07c34a68b5afea0
This commit is contained in:
Proskurin Kirill 2016-07-06 15:59:09 +03:00
parent fea79988bd
commit 1c7e104ade
3 changed files with 13 additions and 3 deletions

View File

@ -21,8 +21,6 @@ service:
files:
- neutron-server-bootstrap.sh
- name: neutron-db-sync
dependencies:
- neutron-bootstrap
type: single
command: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
dependencies:

7
tools/run-check-yaml-syntax.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
### Temp yaml syntax checker script.
set -e
for file in $(find . -name '*.yaml'); do
yamllint -d relaxed $file
done

View File

@ -1,7 +1,12 @@
[tox]
minversion = 1.6
envlist = linters,bashate
skipsdist = True
envlist = bashate
[testenv:linters]
deps = yamllint
commands =
{toxinidir}/tools/run-check-yaml-syntax.sh
[testenv:bashate]
deps = bashate>=0.2