The da-backup on lw03 has not been useful in a long time, remove it
authorPeter Palfrader <peter@palfrader.org>
Fri, 20 Sep 2019 18:24:46 +0000 (20:24 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 20 Sep 2019 18:24:52 +0000 (20:24 +0200)
It was useful for backing up the morgue to storace, but since
lw03 ran out of disk space for morgue probably years ago, we should
not keep this around anymore.

hieradata/common.yaml
modules/samhain/templates/samhainrc.erb
modules/ssh/templates/authorized_keys.erb

index a8b6b1f..d340002 100644 (file)
@@ -124,8 +124,6 @@ roles:
     # XXX - used by ferm templates/defs.conf.erb
     - backuphost.debian.org
     - storace.debian.org
-  dabackup_client:
-    - lw03.debian.org
   debian_mirror:
     # XXX used also in ferm me.conf.erb
     klecker.debian.org:
index d870253..baa7b5a 100644 (file)
@@ -268,7 +268,6 @@ file=/etc/postfix/debian
 file=/etc/ssh/ssh_known_hosts
 file=/etc/ssh/ssh-rsa-shadow
 file=/var/lib/misc/ssh-rsa-shadow
-file=/etc/.da-backup.trace
 file=/etc/postfix/debianhosts
 file=/etc/postfix/debianhosts.db
 file=/etc/blkid.tab
index d7c2002..efb9391 100644 (file)
@@ -42,20 +42,3 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAEAQDJp6ryOTW7VgqEa+n6uKpi/bh2PO4P9Z/voz0zPYtP
 # tfheen
 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIm6NFrs16bhmsb/gZ5tDUTQ4QZGHtLHor3M9YeRXIl+ tfheen debian adm 2019-01-02
 <%=
-
-machine_keys = []
-case @fqdn
-  when "storace.debian.org" then
-    roles['dabackup_client'].each do |node|
-      if allnodeinfo.has_key?(node)
-        hostname = allnodeinfo[node]['hostname'][0]
-
-        machine_keys << "# #{hostname}"
-        machine_keys << "command=\"/usr/lib/da-backup/da-backup-ssh-wrap #{hostname}\",from=\"#{allnodeinfo[node]['ipHostNumber'].join(',')}\",restrict #{allnodeinfo[node]['sshRSAHostKey'][0]}"
-      else
-        machine_keys << "# host #{node} not found in allnodeinfo"
-      end
-  end
-end
-machine_keys.join("\n")
-%>