[Buildbot-devel] The start of a puppet module for buildbot

Jason Edgecombe jason at rampaginggeek.com
Mon Dec 31 03:48:31 UTC 2012


On 12/30/2012 08:56 PM, Dustin J. Mitchell wrote:
> On Sun, Dec 30, 2012 at 4:51 PM, Jason Edgecombe
> <jason at rampaginggeek.com> wrote:
>> Hi everyone,
>>
>> I wanted to start the rough start of my buildbot module for puppet. It's
>> my first real puppet module, so don't expect too much. It installs
>> buildbot from git and starts the master and slave processes. I haven't
>> tested builds yet.
>>
>> The module is located at https://github.com/edgester/puppet-buildbot
>>
>> I wrote it to help me to test some buildbot modifications. Maybe it's
>> useful for other folks. Feedback and pull requests are welcome.
>>
>> Here is a sample puppet snippet to make a buildmaster and two slaves on
>> the same vagrant VM, (Debian 6.0.5 - squeeze).
> I only looked at the example -- for Puppet, I consider that an "API"
> for the module, which IMHO is the hardest part about writing a Puppet
> module.
>
> It looks good!
>
> My thought would be, it would be helpful if you could select the
> buildbot install to use for each buildbot/buildslave instance.  So you
> could have the production master installed in
> /home/buildbot/production/master and the test master installed in
> /home/buildbot/test/master, using virtualenvs at
> /home/buildbot/production/install and /home/buildbot/test/install,
> respectively.
>
> I do a lot of Puppet for Mozilla (see
> https://wiki.mozilla.org/ReleaseEngineering/PuppetAgain), so if I can
> help with puppety stuff, let me know (but if it's not particularly
> buildbot-related, let's do it off-list).
>
> I'd be happy to see a link to your module from the Buildbot wiki.
> Feel free to add one.
>
> Dustin
>
I'm glad that you like it!

Are you talking about using a different install source for each 
instance? I already allow for multiple instances of masters and slaves 
in separate folders, but you have to use a different user for each 
instances of a master or slave.

Thanks for the feedback!




More information about the devel mailing list