aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/opendaylight
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-04-13 12:54:17 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-04-13 17:11:06 +0400
commit2d2f59907d578d266e1aa19040314dc15b27c0c6 (patch)
tree00d63e8a711fd7211c4ea563071727239a125a20 /mcp/salt-formulas/opendaylight
parentef46d8af46c861bdff5ba835bd89b97b334ea45c (diff)
Build in opendaylight service mask
Oxygen has an issue with broken config/data cache caused by service restart in the middle of initial boot. Change-Id: Ia30c76b67566ab8a2fb9045d0e10ca788f1a06a6 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/salt-formulas/opendaylight')
-rw-r--r--mcp/salt-formulas/opendaylight/server.sls7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcp/salt-formulas/opendaylight/server.sls b/mcp/salt-formulas/opendaylight/server.sls
index 069dc2780..51a4d9f95 100644
--- a/mcp/salt-formulas/opendaylight/server.sls
+++ b/mcp/salt-formulas/opendaylight/server.sls
@@ -49,6 +49,13 @@ opendaylight:
- ini: /opt/opendaylight/etc/org.apache.karaf.features.cfg
- ini: /opt/opendaylight/etc/org.ops4j.pax.web.cfg
+# TODO: use service.masked state once salt get updated to 2017.7.0+
+service.mask:
+ module.run:
+ - m_name: opendaylight
+ - require_in:
+ - pkg: opendaylight
+
/opt/opendaylight/etc/jetty.xml:
file.managed:
- source: salt://opendaylight/files/jetty.xml