system-config/modules/openstack_project/manifests
Jeremy Stanley 6b7d540833 Gerrit Trivial Rebase Detection
Adds trivial_rebase.py for bug 881184.

* modules/openstack_project/files/gerrit/scripts/trivial_rebase.py: A
modified version of the contrib/trivial_rebase.py included in upstream
Gerrit's git tree (we'll try to get individual patches submitted
upstream soon):

    git clone https://gerrit.googlesource.com/gerrit

* modules/openstack_project/files/gerrit/patchset-created: Moved to
modules/openstack_project/templates/gerrit_patchset-created.erb and
added an entry for the trivial_rebase.py script with variables for its
command-line options sourced from gerrit.pp and review{,_dev}.pp.

* modules/openstack_project/manifests/gerrit.pp: Changed the file
definition for /home/gerrit2/review_site/hooks/patchset-created to use a
template, adding the ssh_host_key and trivial_rebase_role_id variables
it requires. Added a file entry for trivial_rebase.py as well, since
we're putting it in modules/openstack_project instead of modules/gerrit
where the existing scripts reside (we'll eventually want to move all of
modules/gerrit/files/scripts out of there at some point, but not now).

* modules/openstack_project/manifests/review_dev.pp: Override the
trivial_rebase_role_id variable to trivial-rebase@review-dev.o.o on
review-dev.

* modules/openstack_project/manifests/review.pp: Override the
trivial_rebase_role_id variable to trivial-rebase@review.o.o on review.

Change-Id: I941f15525c72b84708ae1de6832834eb53ab6863
Reviewed-on: https://review.openstack.org/12373
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-10 16:20:09 +00:00
..
backup_server.pp Make a class for each type of server. 2012-07-23 10:33:20 -05:00
bare_slave.pp Use puppetmaster for slaves. 2012-08-19 18:02:37 +00:00
base.pp Use puppetmaster for slaves. 2012-08-19 18:02:37 +00:00
community.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
dashboard.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
eavesdrop.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
etherpad.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
gerrit.pp Gerrit Trivial Rebase Detection 2012-09-10 16:20:09 +00:00
glancetest.pp A few puppetmaster migration errors. 2012-08-19 18:25:04 +00:00
init.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
jenkins_dev.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
jenkins.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
lists.pp Clean up post-apache move carnage. 2012-08-12 17:49:33 +00:00
paste.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
planet.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
puppet_cron.pp logdest doesn't seem to work like you'd expect. 2012-08-20 00:24:50 +00:00
puppetmaster.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
pypi.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
review_dev.pp Gerrit Trivial Rebase Detection 2012-09-10 16:20:09 +00:00
review.pp Gerrit Trivial Rebase Detection 2012-09-10 16:20:09 +00:00
server.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
slave_template.pp Aggregate jenkins modules into one module. 2012-08-12 18:22:26 +00:00
slave.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
static.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
template.pp Use puppetmaster for slaves. 2012-08-19 18:02:37 +00:00
users.pp Move OpenStack classes to openstack_project module 2012-07-23 10:31:58 -05:00
wiki.pp Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
zuul.pp Add url_pattern to zuul.conf. 2012-08-24 17:47:11 +00:00