Clark Boylan ad46ddface Rename tx slave to proposal slave.
The tx slave is going to be used for other jobs that propose changes to
Gerrit. Give it a more appropriate name. This lines up with the move
from hosting this under rackspace legacy to rackspace nova.

Change-Id: I7168d62a4a0aae27d2cd2a7dc6c37595604c8251
2013-08-02 11:21:07 -07:00

31 lines
727 B
Puppet

# Slave used for automatically proposing changes to Gerrit,
# Transifex and other tools.
#
# == Class: openstack_project::translation_slave
#
class openstack_project::proposal_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'],
}
}