Add SSH public key to nodepool-builder

Since we use DIB elements to create our zuul user, we also need to
have our SSH public key on disk. Other wise, diskimage builds will
fail.

Change-Id: Ic80f2337d42ea228496b4dafcf32303fbc2ef3e5
Depends-On: I6879d095941fe76d151d3bd9e590b1f691c146e2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-11-29 11:17:29 -05:00
parent 97919f9a4e
commit fe68087d9f
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ class openstackci::nodepool_builder (
$oscc_file_contents,
$mysql_root_password = '',
$mysql_password = '',
$nodepool_ssh_public_key = undef,
$git_source_repo = 'https://git.openstack.org/openstack-infra/nodepool',
$revision = 'master',
$environment = {},
@ -67,6 +68,7 @@ class openstackci::nodepool_builder (
}
class { '::nodepool::builder':
nodepool_ssh_public_key => $nodepool_ssh_public_key,
statsd_host => $statsd_host,
image_log_document_root => $image_log_document_root,
builder_logging_conf_template => $builder_logging_conf_template,