[Piuparts-commits] rev 270 - piatti

Holger Levsen holger at alioth.debian.org
Mon Mar 16 21:02:08 UTC 2009


Author: holger
Date: 2009-03-16 21:02:08 +0000 (Mon, 16 Mar 2009)
New Revision: 270

Modified:
   piatti/README.txt
Log:
add user+sudoers, convert to asciidoc

Modified: piatti/README.txt
===================================================================
--- piatti/README.txt	2009-03-16 19:00:57 UTC (rev 269)
+++ piatti/README.txt	2009-03-16 21:02:08 UTC (rev 270)
@@ -4,12 +4,9 @@
 todo
 ----
 - use local mirror
-- look at the irssi_away script to see how to monitor screen sessions, to notify when piuparts is hanging
 - document/do: /var/www needs to be populated, /etc/apache2/ too
-- document users needed
-- document sudoers need
-- in -master.py and -slave.py: create master + slave dirs if they dont exists 
 - fix the Makefile so that there is clean way not to install example configuration
+- there should be a 2nd group of piuparts-people. those who can sudo into piupartsm to process logfiles. maybe make that the qa-group
 
 done
 ----
@@ -22,19 +19,43 @@
 - in /home/piupartsm:
 	put id_rsa.pub from piupartss into .ssh/authorized_keys
 	put "export PYTHONPATH=/org/piuparts.debian.org/lib/python2.4/site-packages:/org/piuparts.debian.org/lib/python2.5/site-packages" into .bashrc
-- installation from svn source
-	cd /org/puiparts.debian.org
-	svn co svn://svn.debian.org/svn/piuparts/trunk src
-        cd src
-	sudo make prefix=/org/piuparts.debian.org etcdir=/org/piuparts.debian.org/etc install && sudo rm ../etc/piuparts/ -Rf
-- piuparts-report.py is run from ~/piupartsm/crontab
 
+piuparts users
+--------------
+A piupartss and a piupartsm user is need. Both are members of the group piuparts and /org/piuparts.debian.org is 774 piupartss.piuparts.
+
+'/etc/sudoers' for piatti
+-------------------------
+# The piuparts slave needs to handle chroots
+piupartss       ALL=(ALL) NOPASSWD: ALL
+
+#piuparts admins
+%piuparts       ALL=(piupartss) ALL
+%piuparts       ALL=(piupartsm) ALL
+---
+
+piuparts installation from svn source
+-------------------------------------
+
+cd /org/puiparts.debian.org
+svn co svn://svn.debian.org/svn/piuparts/trunk src
+# checkout elsewhere
+# run script
+
+generating reports
+------------------
+piuparts-report.py is run from ~/piupartsm/crontab
+
 to start a new run and throw away all results:
 ----------------------------------------------
 piupartss at piatti:/org/piuparts.debian.org$ ./update-piuparts-setup
 piupartss at piatti:/org/piuparts.debian.org/slave$ nice python ../../share/piuparts/piuparts-slave.py 
 
+filing bugs
+-----------
+to be written
 
+
 March 2009
 Luk Claes <luk at debian.org>
 Holger Levsen <holger at debian.org> 




More information about the Piuparts-commits mailing list