Add reviewday variables to static class
Add the reviewday variables from hiera to the openstack_project::static class. Change-Id: I33a24a572ba504d87de38fbe7ec0dc00bbfef6ee Reviewed-on: https://review.openstack.org/24850 Reviewed-by: Anita Kuno <akuno@lavabit.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
8fd247acc3
commit
15f9a6edd7
@ -1,7 +1,10 @@
|
||||
# == Class: openstack_project::static
|
||||
#
|
||||
class openstack_project::static (
|
||||
$sysadmins = []
|
||||
$sysadmins = [],
|
||||
$reviewday_gerrit_ssh_key = '',
|
||||
$reviewday_rsa_pubkey_contents = '',
|
||||
$reviewday_rsa_key_contents = ''
|
||||
) {
|
||||
|
||||
class { 'openstack_project::server':
|
||||
@ -136,8 +139,11 @@ class openstack_project::static (
|
||||
httproot => "/srv/static/${name}",
|
||||
}
|
||||
reviewday::init { 'reviewday.openstack.org':
|
||||
gerrit_url => 'review.openstack.org',
|
||||
gerrit_port => '29418',
|
||||
gerrit_user => 'reviewday',
|
||||
gerrit_url => 'review.openstack.org',
|
||||
gerrit_port => '29418',
|
||||
gerrit_user => 'reviewday',
|
||||
reviewday_gerrit_ssh_key => $reviewday_gerrit_ssh_key,
|
||||
reviewday_rsa_pubkey_contents => $reviewday_rsa_pubkey_contents,
|
||||
reviewday_rsa_key_contents => $reviewday_rsa_key_contents,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user