Page MenuHomeDevCentral

D2758.diff
No OneTemporary

D2758.diff

diff --git a/roles/core/network/routes.sls b/roles/core/network/routes.sls
--- a/roles/core/network/routes.sls
+++ b/roles/core/network/routes.sls
@@ -23,7 +23,7 @@
# Enable packet forwarding for routers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-{% if "router" in grains['roles'] %}
+{% if "router" in salt['node.get_list']('roles') %}
{% if grains['os'] == 'FreeBSD' %}
/etc/rc.d/routing/router:

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 17:00 (18 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258483
Default Alt Text
D2758.diff (433 B)

Event Timeline