Browse Source

pppoe: Install all required files and cronjob

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 2 years ago
parent
commit
f2aadbff7e
1 changed files with 11 additions and 0 deletions
  1. 11 0
      pppoe/init.sls

+ 11 - 0
pppoe/init.sls

@@ -49,3 +49,14 @@ at:
   file.managed:
     - source: salt://pppoe/pap-secrets
     - template: jinja
+
+
+# Install pppd restart script and cron-job
+/etc/cron.d/ff_fix_ppp:
+  file.managed:
+    - source: salt://pppoe/ff_fix_ppp.cron
+
+/usr/local/sbin/ff_fix_ppp:
+  file.managed:
+    - source: salt://pppoe/ff_fix_ppp
+    - mode: 755