diff options
-rwxr-xr-x | ci/build.sh | 10 | ||||
-rw-r--r-- | mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls | 6 |
2 files changed, 11 insertions, 5 deletions
diff --git a/ci/build.sh b/ci/build.sh index f15c52951..ec0040e7d 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -62,17 +62,17 @@ PYTHON_BIN_PATH="$(python -m site --user-base)/bin" PATH="$PATH:$PYTHON_BIN_PATH" notify "[NOTE] Installing required build-time distro and pip pkgs" 2 jumpserver_pkg_install 'build' -pip install pipenv --user +python -m pip install --upgrade pipenv --user docker_install popd > /dev/null pushd "${DOCKER_DIR}" > /dev/null -pipenv --two -pipenv install -pipenv install invoke +python -m pipenv --two +env VIRTUALENV_ALWAYS_COPY=1 python -m pipenv install +env VIRTUALENV_ALWAYS_COPY=1 python -m pipenv install invoke # shellcheck disable=SC2086 -pipenv run \ +python -m pipenv run \ invoke build saltmaster-reclass \ --require 'salt salt-formulas opnfv reclass tini-saltmaster' \ --dist=ubuntu \ diff --git a/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls b/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls index 95ebc239a..1ae23d61a 100644 --- a/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls +++ b/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/server.sls @@ -116,6 +116,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: |