From: Alexandru Avadanii Date: Sun, 23 Sep 2018 15:18:40 +0000 (+0200) Subject: [odl] Create openflowplugin.cfg if not present X-Git-Tag: opnfv-8.0.0~139 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F62853%2F2;p=fuel.git [odl] Create openflowplugin.cfg if not present Salt's `ini.options_present` expects the file to be present. Change-Id: Ib62b324ae0bd154a35b8a80e4ab2ec0002bc6bce Signed-off-by: Alexandru Avadanii --- diff --git a/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls b/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls index e0fb0912c..bf2f01d7b 100644 --- a/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls +++ b/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls @@ -91,6 +91,12 @@ opendaylight: org.ops4j.pax.web.listening.addresses: {{ server.odl_bind_ip }} org.osgi.service.http.port: {{ server.odl_rest_port }} +/opt/opendaylight/etc/org.opendaylight.openflowplugin.cfg_present: + file.managed: + - name: /opt/opendaylight/etc/org.opendaylight.openflowplugin.cfg + - require_in: + - ini: /opt/opendaylight/etc/org.opendaylight.openflowplugin.cfg + /opt/opendaylight/etc/org.opendaylight.openflowplugin.cfg: ini.options_present: - sections: