[Piuparts-devel] piuparts server packaging
holger at layer-acht.org
Mon Jun 18 09:09:02 UTC 2012
On Montag, 18. Juni 2012, Andreas Beckmann wrote:
> On 2012-06-18 00:49, Holger Levsen wrote:
> > /etc/piuparts/piuparts.conf currently belongs to master. I think that
> > should be splitted in /etc/piuparts/master.conf and
> > /etc/piuparts/slave.conf.. or?
> for a localhost setup clearly NO, as you would have to to duplicate
> nearly everything ...
> I don't have a clear plan, how to deploy a truly distributed system
> we should support setting the PIUPARTS_CONF env var to point to a config
> file that will be used, defaulting to /etc/piuparts/piuparts.conf
> => TODO (the scripts bin/* that read the config file already do this)
sounds like a nice idea.
> its probably ok to ship the config in -master in /etc and in -slave in
> docs: * -master + -slave + default config = something that works out of
> the box * -slave only requires manual configuration anyway (ssh key
> transfer, setup a config, select sections to run)
I'd like to have a default config for sid tests with a master running on
localhost enabled on installation of piuparts-slave. If there is no master
running on localhost, the slave should be (rather very or totally) idle.
Just installing the piuparts-master package (with installing the slave
package) should also not result in load, piuparts-report should detect that
slaves were never running and thus abort immediatly.
> its probably better to have the same config file everywhere in a
> distributed system and then use e.g. /etc/default/piuparts-slave to
> restrict SECTIONS ... needs more thought ...
that could indeed be better than /etc/piuparts/slave.conf...
> > Havent seen those?!
> chown foo.bar is deprecated, use chown foo:bar
ah. understood it the other way round, fixed.
> > I've also split it into piuparts-(master|slave) now and am a bit unsure
> > about the slave package writing into the masters homedir... comments?
> What gets written there? the ssh key?
> dpkg-trigger piuparts-master-please-install-the-slave-key
> bad wording on my side ... docs should be served from the local
> instance, but there could be an additional link to the docs on piatti
ah. and no. documents should be served from the local instance, when
applicable.(= not the wiki+bts+pts links..)
More information about the Piuparts-devel