[ci] Fix kitchen tests & salt states
Changes:
- added 'is defined' check to compute|controller.enable opts
- added creation of an empty policy.json file for newton+ release
to allow to manage rules. (policy.json for nova is removed
in stable/ocata, defaults are taken from code)
- any nova manage * commands wrapped into 'noservice' condition
- fixed .kitchen.yaml to manage releases in properly way (before
change, Liberty release always used)
wrong ways:
pillars:
- top.sls
- nova <-------- will be created just 'nova' file, not 'nova.sls'
pillars:
- top.sls
- nova.sls: <--- does not overwrite anything (file already exists)
nova:
version: ocata
Change-Id: I8c51f65979071148e22fb72a5f04b78e83074043
5 files changed