Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
@@ -3,6 +3,6 @@
#
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
-MAILTO=ops@ffho.net
+MAILTO={{ salt['pillar.get']('globals:ops_mail') }}
* * * * * root /usr/local/sbin/ff_fix_default_route
@@ -73,6 +73,7 @@ ifreload:
{% if True in vrf %}
file.managed:
- source: salt://network/interfaces/ff_fix_default_route.cron
+ - template: jinja
{% else %}
file.absent
{% endif %}