mcp: salt-formulas: opendaylight: AArch64 leveldb
[fuel.git] / mcp / salt-formulas / opendaylight / server.sls
index 069dc27..453d244 100644 (file)
@@ -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
@@ -92,4 +99,9 @@ opendaylight:
       - service: opendaylight
 {%- endif %}
 
+{%- if grains['cpuarch'] == 'aarch64' %}
+opendaylight-leveldbjni:
+  pkg.installed
+{%- endif %}
+
 {%- endif %}