summaryrefslogtreecommitdiffstats
path: root/salt/profile/netcup_failover/init.sls
diff options
context:
space:
mode:
Diffstat (limited to 'salt/profile/netcup_failover/init.sls')
-rw-r--r--salt/profile/netcup_failover/init.sls10
1 files changed, 10 insertions, 0 deletions
diff --git a/salt/profile/netcup_failover/init.sls b/salt/profile/netcup_failover/init.sls
new file mode 100644
index 0000000..c4d5679
--- /dev/null
+++ b/salt/profile/netcup_failover/init.sls
@@ -0,0 +1,10 @@
+include:
+ - profile.keepalived_script_user
+
+/usr/local/bin/failover:
+ file.managed:
+ - user: keepalived_script
+ - group: wheel
+ - mode: 750
+ - template: jinja
+ - source: salt://{{ slspath }}/files/failover.sh.j2