backuphost will have pg backups also
authorPeter Palfrader <peter@palfrader.org>
Sat, 26 Sep 2015 11:13:40 +0000 (13:13 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 26 Sep 2015 11:13:40 +0000 (13:13 +0200)
hieradata/common.yaml
modules/sudo/files/sudoers

index c10320c..4cdea91 100644 (file)
@@ -151,6 +151,7 @@ roles:
   www_master:
     - wolkenstein.debian.org
   postgres_backup_server:
+    - backuphost.debian.org
     - storace.debian.org
   dabackup_client:
     - moszumanska.debian.org
index 00955ad..c03334c 100644 (file)
@@ -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