Pass a zuul scratch subpath to create-cgitrepos

* modules/openstack_project/manifests/git_backend.pp: Pass "zuul" as
the SCRATCH_SUBPATH environment variable for the create-cgitrepos
utility. With a new enough jeepyb to support this, it will generate
empty shadow git repositories where zuul can stow its throwaway job
references.

Change-Id: I26828ab9935e47382f6706a5c590f32b806d1713
This commit is contained in:
Jeremy Stanley 2014-01-08 01:31:11 +00:00
parent 7282ca4539
commit 09b1e91b63

View File

@ -84,6 +84,7 @@ class openstack_project::git_backend (
exec { 'create_cgitrepos':
command => 'create-cgitrepos',
path => '/bin:/usr/bin:/usr/local/bin',
environment => 'SCRATCH_SUBPATH=zuul',
require => File['/home/cgit/projects.yaml'],
subscribe => File['/home/cgit/projects.yaml'],
refreshonly => true,