1 {% from "opendaylight/map.jinja" import server with context %}
3 {%- if server.enabled %}
7 - ppa: {{ server.repo }}
12 - pkgrepo: opendaylight_repo
14 - file: /opt/opendaylight/etc/jetty.xml
15 - file: /opt/opendaylight/bin/setenv
16 - file: /opt/opendaylight/etc/org.apache.karaf.features.cfg
20 - file: /opt/opendaylight/etc/jetty.xml
21 - file: /opt/opendaylight/bin/setenv
22 - file: /opt/opendaylight/etc/org.apache.karaf.features.cfg
24 /opt/opendaylight/etc/jetty.xml:
26 - source: salt://opendaylight/files/jetty.xml
31 /opt/opendaylight/bin/setenv:
33 - source: salt://opendaylight/files/setenv.shell
36 - file: /opt/opendaylight/etc/jetty.xml
39 {%- for f in server.karaf_features.itervalues() -%}
40 {{ f | join(',') }}{%- if not loop.last %},{%- endif %}
44 /opt/opendaylight/etc/org.apache.karaf.features.cfg:
46 - pattern: ^featuresBoot=.*$
47 - repl: "featuresBoot={{ features }}"