[Piuparts-devel] running piuparts master/slave from git

Andreas Beckmann debian at abeckmann.de
Thu Mar 22 08:30:02 UTC 2012


Hi,

first of all I'd like to keep the possibility to have a piuparts
instance running from git like it's done now with update-piuparts-setup,
although this should probably be separated into smaller pieces to allow
running slave and master separately from git.
The setup-from-git script should be run by the user that is going to use
the files (and eventually write in the directory structure ...) to avoid
a lot of sudo and chown.

There are 3 groups of files, by usage:

slave:
home/piupartss
etc/piuparts/scripts*
$PIUPARTS/slave

master:
home/piupartsm
etc/piuparts/known-problems/ [1]
$PIUPARTS/master
$PIUPARTS/backup
$PIUPARTS/htdocs
$PIUPARTS/htdocs/doc [2]

shared:
etc/piuparts/piuparts.conf*
$PIUPARTS/{bin,lib,share,...} [2]


[1] known-problems should get a number-prefix to do the ordering and be
moved from home/piupartsm/bin/known-problems to
/etc/piuparts/known-problems. detect-well-known-problems and
piuparts-report should look there (and -report should not carry its own
list of the known problems).
But that can be accomplished better once the two repositories are merged.

[2] these are created by a make install call ... why does this have to
be done as root?

The shared files are probably the most problematic ... who should own them?


Andreas



More information about the Piuparts-devel mailing list