changeset 299:fe009d4322b7

fix up template a bit
author Jeff Hammel <k0scist@gmail.com>
date Sun, 11 May 2014 09:30:00 -0700
parents f6dff9fd3f5b
children aeaf4494c7d8
files autobot/template.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/template.py	Sun May 11 09:16:46 2014 -0700
+++ b/autobot/template.py	Sun May 11 09:30:00 2014 -0700
@@ -36,14 +36,14 @@
     description = 'template for the autobot buildbot master'
     templates = [os.path.join('template', 'master')]
     vars = [Variable('slave', 'buildslave name', 'slave'),
-            Variable('os', 'buildslave os (win, mac, linux)'),
+            Variable('os', 'buildslave os (win, mac, linux)', default='linux'),
             Variable('passwd', 'buildslave password', default='passwd'),
             Variable('slaveport', 'port to talk to slaves on', default=9010, cast=int),
             Variable('htmlport', 'port for waterfall display', default=8010, cast=int),
             Variable('publichtmlport', 'port for public waterfall display', default=8011, cast=int),
-            Variable('botname', 'name of IRC bot'),
-            Variable('ircHost', 'IRC host'),
-            Variable('ircChannels', 'channels for the IRC bot ("-" for none)'),
+            Variable('botname', 'name of IRC bot', default='autobot'),
+            Variable('ircHost', 'IRC host', default=''),
+            Variable('ircChannels', 'channels for the IRC bot ("-" for none)', default='-'),
             Variable('domain', 'autobot domain name', default='localhost'),
             Variable('recipients', 'email recipients for all projects', '')
             ]