Add mysql passwords to nodepool builder

These are required by nodepool::init.  They are not needed for the
zuulv3 builder, but go ahead and add them optionally so this works
with the v2 builder for now.

Change-Id: I398b5ba1fdae1844ef8ab3777068d1b96e1270ac
This commit is contained in:
James E. Blair 2016-11-23 08:37:39 -08:00
parent 7869f3546f
commit 6a735ca508
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@
#
class openstackci::nodepool_builder (
$oscc_file_contents,
$mysql_root_password = '',
$mysql_password = '',
$git_source_repo = 'https://git.openstack.org/openstack-infra/nodepool',
$revision = 'master',
$environment = {},
@ -43,6 +45,8 @@ class openstackci::nodepool_builder (
}
class { '::nodepool':
mysql_root_password => $mysql_root_password,
mysql_password => $mysql_password,
git_source_repo => $git_source_repo,
revision => $revision,
vhost_name => $vhost_name,