Pass project_config_repo from single_use_slave
Pass the project_config_repo variable from single_use_slave.pp manifest to the nested slave_common.pp to be able to set it's value from parent scripts (e.g. prepare_node.sh) Change-Id: I3c765a72fd48624cddc6146feb94331b2c764df3
This commit is contained in:
parent
23b7be267d
commit
aff1df708e
@ -17,7 +17,8 @@ class openstack_project::single_use_slave (
|
||||
$automatic_upgrades = false,
|
||||
$all_mysql_privs = false,
|
||||
$enable_unbound = true,
|
||||
$ssh_key = $openstack_project::jenkins_ssh_key
|
||||
$ssh_key = $openstack_project::jenkins_ssh_key,
|
||||
$project_config_repo = 'https://git.openstack.org/openstack-infra/project-config',
|
||||
) inherits openstack_project {
|
||||
class { 'openstack_project::template':
|
||||
certname => $certname,
|
||||
@ -44,8 +45,9 @@ class openstack_project::single_use_slave (
|
||||
}
|
||||
|
||||
class { 'openstack_project::slave_common':
|
||||
include_pypy => $include_pypy,
|
||||
sudo => $sudo,
|
||||
include_pypy => $include_pypy,
|
||||
sudo => $sudo,
|
||||
project_config_repo => $project_config_repo,
|
||||
}
|
||||
|
||||
if (! $thin) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
class openstack_project::slave_common(
|
||||
$include_pypy = false,
|
||||
$sudo = false,
|
||||
$project_config_repo = 'https://git.openstack.org/openstack-infra/project-config',
|
||||
$project_config_repo = '',
|
||||
){
|
||||
vcsrepo { '/opt/requirements':
|
||||
ensure => latest,
|
||||
|
Loading…
x
Reference in New Issue
Block a user