
* Added key generation to Jenkins * If Gerrit is provided, create jenkins user and pass jenkins public key to Gerrit * Fixed CI/CD app for these changes * Fixed copy private jenkins key to /home/jenkins/.ssh Change-Id: I26a7722e15aaf04274fae9ed437f45af5b213b95
9 lines
162 B
Puppet
9 lines
162 B
Puppet
node default {
|
|
$ssh_key = hiera('jenkins_ssh_pubkey_contents', undef)
|
|
if $ssh_key {
|
|
class { 'jenkins::jenkinsuser':
|
|
ssh_key => $ssh_key
|
|
}
|
|
}
|
|
}
|