Page MenuHomeDevCentral

D2769.diff
No OneTemporary

D2769.diff

diff --git a/roles/core/network/ipv6.sls b/roles/core/network/ipv6.sls
--- a/roles/core/network/ipv6.sls
+++ b/roles/core/network/ipv6.sls
@@ -66,7 +66,7 @@
# Routes
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-{% if salt['node.has']('network:ipv6_gateway') %}
+{% if "ipv6_gateway" in network %}
{% if grains['os'] == 'FreeBSD' %}
/etc/rc.conf.d/routing/ipv6:
@@ -75,7 +75,7 @@
- makedirs: True
- template: jinja
- context:
- ipv6_gateway: {{ ipv6_gateway }}
+ ipv6_gateway: {{ network["ipv6_gateway"] }}
{% endif %}
{% endif %}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 10:15 (19 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306333
Default Alt Text
D2769.diff (596 B)

Event Timeline