From: Peter Palfrader Date: Sat, 26 Sep 2015 11:13:40 +0000 (+0200) Subject: backuphost will have pg backups also X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=6b9b281258276beb92c4c7c854956aea0f4e3acc;p=mirror%2Fdsa-puppet.git backuphost will have pg backups also --- 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