aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/salt-formulas')
-rw-r--r--mcp/salt-formulas/opendaylight/server.sls2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcp/salt-formulas/opendaylight/server.sls b/mcp/salt-formulas/opendaylight/server.sls
index 1346177ca..206dc52a2 100644
--- a/mcp/salt-formulas/opendaylight/server.sls
+++ b/mcp/salt-formulas/opendaylight/server.sls
@@ -13,6 +13,7 @@
opendaylight_repo_key:
cmd.run:
- name: "apt-key adv --keyserver keyserver.ubuntu.com --recv 44C05248"
+{%- if system.proxy is defined and system.proxy.pkg is defined %}
- env:
{%- if system.proxy.pkg.http is defined %}
- http_proxy: {{ system.proxy.pkg.http }}
@@ -20,6 +21,7 @@ opendaylight_repo_key:
{%- if system.proxy.pkg.https is defined %}
- https_proxy: {{ system.proxy.pkg.https }}
{%- endif %}
+{%- endif %}
opendaylight_repo:
pkgrepo.managed: