Page MenuHomeDevCentral

D2905.diff
No OneTemporary

D2905.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 salt['node.get_list']('roles') %}
+{% if salt['node.has_role']("router") %}
{% if grains['os'] == 'FreeBSD' %}
/etc/rc.d/routing/router:

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 01:22 (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307175
Default Alt Text
D2905.diff (437 B)

Event Timeline