Monty Taylor c510a30e1e Modified gerrit to use MySQL and Apache modules.
Change-Id: I82ff3c46438f8db126fa6a881efa09c90b1906e4
2012-07-27 17:37:37 +00:00

27 lines
1012 B
Puppet

class openstack_project::review_dev(
$github_oauth_token,
$mysql_password,
$mysql_root_password,
$email_private_key) {
class { 'openstack_project::gerrit':
virtual_hostname => 'review-dev.openstack.org',
canonicalweburl => "https://review-dev.openstack.org/",
ssl_cert_file => '/etc/ssl/certs/ssl-cert-snakeoil.pem',
ssl_key_file => '/etc/ssl/private/ssl-cert-snakeoil.key',
ssl_chain_file => '',
email => "review-dev@openstack.org",
war => 'http://tarballs.openstack.org/ci/gerrit-2.4.2-11-gb5a28fb.war',
script_user => 'update',
script_key_file => '/home/gerrit2/.ssh/id_rsa',
github_projects => [ {
name => 'gtest-org/test',
close_pull => 'true'
} ],
github_username => 'openstack-gerrit-dev',
github_oauth_token => $github_oauth_token,
mysql_password => $mysql_password,
mysql_root_password => $mysql_root_password,
email_private_key => $email_private_key,
}
}