From eb1cda6e92013e21827863328a9f3bec4ae3e3fd Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 11 Nov 2014 21:15:21 +0100 Subject: [PATCH] Retire backuphost --- modules/ssh/templates/authorized_keys.erb | 2 +- modules/sudo/files/sudoers | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ssh/templates/authorized_keys.erb b/modules/ssh/templates/authorized_keys.erb index d644c23e..09ce7828 100644 --- a/modules/ssh/templates/authorized_keys.erb +++ b/modules/ssh/templates/authorized_keys.erb @@ -41,7 +41,7 @@ ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAuGJnElqbhgLtmJp/de8s42cAwKrkAhFq5u8EAkauEv6B machine_keys = [] case fqdn - when "backuphost.debian.org", "storace.debian.org" then + when "storace.debian.org" then roles['dabackup_client'].each do |node| if allnodeinfo.has_key?(node) hostname = allnodeinfo[node]['hostname'][0] diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 4859f950..9e9ac404 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -75,7 +75,7 @@ nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog nagios MEGACTLHOSTS=(ALL) NOPASSWD: /usr/sbin/megactl -Hv # other nagios things -nagios backuphost,storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" +nagios storace=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" # groups and their role accounts %auditor ALL=(accounting) ALL -- 2.39.2