From 6b9b281258276beb92c4c7c854956aea0f4e3acc Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 26 Sep 2015 13:13:40 +0200 Subject: [PATCH] backuphost will have pg backups also --- hieradata/common.yaml | 1 + modules/sudo/files/sudoers | 1 + 2 files changed, 2 insertions(+) diff --git a/hieradata/common.yaml b/hieradata/common.yaml index c10320ca2..4cdea91fa 100644 --- a/hieradata/common.yaml +++ b/hieradata/common.yaml @@ -151,6 +151,7 @@ roles: www_master: - wolkenstein.debian.org postgres_backup_server: + - backuphost.debian.org - storace.debian.org dabackup_client: - moszumanska.debian.org diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 00955ad52..c03334c1c 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -81,6 +81,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=(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 -- 2.20.1