Merge "Expose jenkins_ssh_public_key parameter in openstack_project::jenkins"
This commit is contained in:
commit
dc444176bc
@ -13,11 +13,12 @@ class openstack_project::jenkins (
|
||||
$ssl_cert_file_contents = '',
|
||||
$ssl_key_file_contents = '',
|
||||
$ssl_chain_file_contents = '',
|
||||
$jenkins_ssh_public_key = $openstack_project::jenkins_ssh_key,
|
||||
$jenkins_ssh_private_key = '',
|
||||
$zmq_event_receivers = [],
|
||||
$sysadmins = [],
|
||||
$project_config_repo = '',
|
||||
) {
|
||||
) inherits openstack_project {
|
||||
include openstack_project
|
||||
|
||||
$iptables_rule = regsubst ($zmq_event_receivers, '^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 8888 -s \1 -j ACCEPT')
|
||||
@ -54,7 +55,7 @@ class openstack_project::jenkins (
|
||||
ssl_key_file_contents => $ssl_key_file_contents,
|
||||
ssl_chain_file_contents => $ssl_chain_file_contents,
|
||||
jenkins_ssh_private_key => $jenkins_ssh_private_key,
|
||||
jenkins_ssh_public_key => $openstack_project::jenkins_ssh_key,
|
||||
jenkins_ssh_public_key => $jenkins_ssh_public_key,
|
||||
}
|
||||
|
||||
jenkins::plugin { 'build-timeout':
|
||||
|
Loading…
Reference in New Issue
Block a user