[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r58: Set up buildbot master configuration.

Jeff Licquia licquia at linuxfoundation.org
Thu Jan 26 02:54:17 UTC 2012


------------------------------------------------------------
revno: 58
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Wed 2012-01-25 21:54:17 -0500
message:
  Set up buildbot master configuration.
modified:
  modules/buildbot/manifests/master.pp
-------------- next part --------------
=== modified file 'modules/buildbot/manifests/master.pp'
--- a/modules/buildbot/manifests/master.pp	2012-01-26 02:47:26 +0000
+++ b/modules/buildbot/manifests/master.pp	2012-01-26 02:54:17 +0000
@@ -8,18 +8,26 @@
         require => File["/opt/buildbot/Makefile"],
     }
 
-    exec { "make buildbot-config":
+    exec { "make-buildbot-config":
+        command => "make buildbot-config",
         cwd     => "/opt/buildbot",
         creates => "/opt/buildbot/buildbot-config",
         path    => [ "/bin", "/sbin", "/usr/bin", "/usr/sbin" ],
         require => File["/opt/buildbot/Makefile"],
     }
 
-    exec { "/opt/buildbot/bin/buildbot create-master /opt/buildbot/lsb-master":
+    exec { "make-master":
+        command => "/opt/buildbot/bin/buildbot create-master /opt/buildbot/lsb-master",
         cwd     => "/opt/buildbot",
         creates => "/opt/buildbot/lsb-master",
         path    => [ "/bin", "/sbin", "/usr/bin", "/usr/sbin" ],
         require => Exec["make-buildbot"],
     }
 
+    file { "/opt/buildbot/lsb-master/master.cfg":
+        ensure  => link,
+        target  => "../buildbot-config/lsb_master.cfg",
+        require => [ Exec['make-buildbot-config'], Exec['make-master'] ],
+    }
+
 }



More information about the lsb-messages mailing list