From c60293f6d6eb7cdf55b38585164861d9acd77a75 Mon Sep 17 00:00:00 2001 From: Pierre Hanselmann Date: Fri, 29 Sep 2017 16:35:04 +0200 Subject: [PATCH] Fix neutron invalid json file Fix a missing comma in config.json when neutron_plugin_agent is set to 'vmware_nsxv' or 'vmware_dvs'. Closes-Bug: #1720380 Change-Id: I088f09a426a5435202176c45a77b1fbc19468f97 --- ansible/roles/neutron/templates/neutron-server.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/neutron/templates/neutron-server.json.j2 b/ansible/roles/neutron/templates/neutron-server.json.j2 index ebe1d170c9..bf7272fd18 100644 --- a/ansible/roles/neutron/templates/neutron-server.json.j2 +++ b/ansible/roles/neutron/templates/neutron-server.json.j2 @@ -42,7 +42,7 @@ "source": "{{ container_config_directory }}/nsx.ini", "dest": "/etc/neutron/plugins/vmware/nsx.ini", "owner": "neutron", - "optional": {{ (neutron_plugin_agent not in ['vmware_nsxv', 'vmware_dvs']) | string | lower }} + "optional": {{ (neutron_plugin_agent not in ['vmware_nsxv', 'vmware_dvs']) | string | lower }}, "perm": "0600" }{% endif %} ],