[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r85: Make sure the buildbot master directory has the right permissions.

Jeff Licquia licquia at linuxfoundation.org
Sat Jan 28 14:08:10 UTC 2012


------------------------------------------------------------
revno: 85
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Sat 2012-01-28 09:08:10 -0500
message:
  Make sure the buildbot master directory has the right permissions.
modified:
  modules/buildbot/manifests/master.pp
-------------- next part --------------
=== modified file 'modules/buildbot/manifests/master.pp'
--- a/modules/buildbot/manifests/master.pp	2012-01-28 13:56:23 +0000
+++ b/modules/buildbot/manifests/master.pp	2012-01-28 14:08:10 +0000
@@ -16,13 +16,18 @@
         require => File["/opt/buildbot"],
     }
 
+    file { "/opt/buildbot/lsb-master":
+        ensure => directory,
+        owner  => 'buildbot',
+    }
+
     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" ],
         user    => 'buildbot',
-        require => Exec["make-buildbot"],
+        require => [ Exec["make-buildbot"], File["/opt/buildbot/lsb-master"] ],
     }
 
     file { "/opt/buildbot/lsb-master/master.cfg":



More information about the lsb-messages mailing list