summaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-23 17:18:40 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-23 17:13:00 +0000
commit746793886ea7ddfe9dece93d5e5d386946fa443d (patch)
tree436cb69e3d9ec254a0a7f58bb403d40747428adb /mcp/salt-formulas
parenta7b0143bfc579a7a6a1b63ebf3f7ab84f9a2960f (diff)
[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 <Alexandru.Avadanii@enea.com> (cherry picked from commit 5693a22613d2ba0bd454490646c8a29b47a74329)
Diffstat (limited to 'mcp/salt-formulas')
-rw-r--r--mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls6
1 files changed, 6 insertions, 0 deletions
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: