Browse Source

Fastd: We don't need the peers git anymore

Signed-off-by: Michael Schwarz <post@michael-schwarz.name>
Maximilian Wilhelm 4 years ago
parent
commit
aad6213ced
1 changed files with 0 additions and 30 deletions
  1. 0 30
      fastd/peers.sls

+ 0 - 30
fastd/peers.sls

@@ -21,33 +21,3 @@ include:
     - user: root
     - group: root
     - mode: 744
-
-# Pull fastd mesh peers git
-peers-git:
-  git.latest:
-    - name: gogs@git.ffho.net:ffho-sensitive/ffho-knoten.git
-    - target: /etc/freifunk/peers
-    - rev: master
-    - identity: /root/.ssh/ffho_peers_git.id_rsa
-    - user: root
-    - require:
-      - file: /root/.ssh/ffho_peers_git.id_rsa
-
-# Update script
-/usr/local/sbin/ff_update_peers:
-  file.managed:
-    - source: salt://fastd/ff_update_peers
-    - user: root
-    - group: root
-    - mode: 744
-
-## update cronjob
-fastd-update-peers:
-  cron.present:
-    - name: /usr/local/sbin/ff_update_peers 2>&1 | /usr/local/bin/ff_log_to_bot
-    - identifier: fastd-update-peers
-    - user: root
-    - minute: '*/5'
-    - require:
-      - file: /usr/local/sbin/ff_update_peers
-      - git: peers-git