+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
# every hour, kill all puppet jobs that are lingering around, i.e. all
# processes whose parent is init, and who have lived for longer than an hour
# (if they lived for 10 hours then they get to live an hour longer because
# the regex is just that gracious.
-12 * * * * root pgrep -P 1 -f '/usr/bin/ruby1.8 /usr/sbin/puppetd --factsync -o --no-daemonize' | xargs ps --no-headers -o pid,etime | grep '[1-9]:..:..$' | awk '{print $1}' | xargs --no-run-if-empty kill -9
+12 * * * * root pgrep -P 1 -f '/usr/bin/ruby1.8 /usr/sbin/puppetd --factsync -o --no-daemonize' | xargs --no-run-if-empty ps --no-headers -o pid,etime | grep '[1-9]:..:..$' | awk '{print $1}' | xargs --no-run-if-empty kill -9
--- /dev/null
+class raidmpt {
+ package {
+ mpt-status: ensure => installed;
+ }
+
+ file {
+ "/etc/default/mpt-statusd":
+ content => "# This file is under puppet control\nRUN_DAEMON=no\n",
+ notify => Exec["mpt-statusd-stop"],
+ ;
+ }
+ exec {
+ "mpt-statusd-stop":
+ command => 'pidfile=/var/run/mpt-statusd.pid; ! [ -e "$pidfile" ] || /sbin/start-stop-daemon --oknodo --stop --signal TERM --quiet --pidfile "$pidfile"; rm -f "$pidfile"; pkill -INT -P 1 -u 0 -f "/usr/bin/daemon /etc/init.d/mpt-statusd check_mpt"',
+ refreshonly => true,
+ ;
+ }
+}
+# vim:set et:
+# vim:set ts=4:
+# vim:set shiftwidth=4:
Host_Alias SECHOSTS = klecker, chopin
Host_Alias ZIVITHOSTS = zelenka, zandonai
Host_Alias AACRAIDHOSTS = bellini, cimarosa, morricone, paganini, respighi, vivaldi, beethoven, pettersson
-Host_Alias MEGARAIDHOSTS = grieg, rautavaara
+Host_Alias MEGARAIDHOSTS = grieg, rautavaara, sibelius
Host_Alias MPTRAIDHOSTS = master, fasch, holter, barber, biber, cilea, vitry, krenek, scelsi, orff, field
# User alias specification
User_Alias QACORE = aba, djpig, geissert, hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack
# other raid controllers
nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info
nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status
-nagios MPGRAIDHOSTS=(ALL) NOPASSWD: /usr/sbin/mpt-status -s
+nagios MPTRAIDHOSTS=(ALL) NOPASSWD: /usr/sbin/mpt-status -s
nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD
nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog
# remote power to babylon5 in the same rack:
joerg unger=(ALL) /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1
# wbadm can update all buildd* users' keys on buildd.d.o
-%wbadm cimarosa=(root) /usr/local/bin/update-buildd-sshkeys
-wbadm cimarosa=(postgres) NOPASSWD: /usr/bin/pg_dumpall --cluster 8.4/wanna-build
+%wbadm cimarosa,grieg=(root) /usr/local/bin/update-buildd-sshkeys
+wbadm cimarosa,grieg=(postgres) NOPASSWD: /usr/bin/pg_dumpall --cluster 8.4/wanna-build
# mirror push
dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors
planet senfl=(archvsync) NOPASSWD: /home/archvsync/bin/runplanet ""