b51d23a3cd
The openstack_project::slave refactor defaulted the Jenkins' SSH pub key to an empty string. This erased the authorized keys file for the Jenkins user on our specialized slaves. Restore that file's contents. Change-Id: I28067017ec2dc36feef9df076099813abf820ee9 Reviewed-on: https://review.openstack.org/31419 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
28 lines
639 B
Puppet
28 lines
639 B
Puppet
# == Class: openstack_project::translation_slave
|
|
#
|
|
class openstack_project::translation_slave (
|
|
$jenkins_ssh_public_key,
|
|
$transifex_password = '',
|
|
$transifex_username = 'openstackci',
|
|
) {
|
|
|
|
class { 'openstack_project::slave':
|
|
ssh_key => $jenkins_ssh_public_key,
|
|
}
|
|
|
|
package { ['transifex-client', 'Babel']:
|
|
ensure => latest,
|
|
provider => pip,
|
|
require => Class['pip'],
|
|
}
|
|
|
|
file { '/home/jenkins/.transifexrc':
|
|
ensure => present,
|
|
owner => 'jenkins',
|
|
group => 'jenkins',
|
|
mode => '0600',
|
|
content => template('openstack_project/transifexrc.erb'),
|
|
require => User['jenkins'],
|
|
}
|
|
}
|