system-config/modules/openstack_project/manifests/translation_slave.pp
Clark Boylan 2e589d19cb New job template for translation management.
Add a new job template for translation management. Add two jobs for
translation management. The first will will update transifex with the
new .pot and .po files after every merge to a project. The second will
commit the new .pot and .po files and submit for review once a day.

Add puppet manifest for the slave that these jobs will be running on.

Apply the template to nova.

Change-Id: I5242f81bd6ff13d1ed8610ef9e3b39fd3dbd7301
Reviewed-on: https://review.openstack.org/11369
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-09-11 13:37:50 +00:00

24 lines
493 B
Puppet

class openstack_project::translation_slave (
transifex_username = 'openstackci',
transifex_password
) {
include openstack_project::slave
package { ['transifex-client', 'Babel']:
ensure => latest,
provider => pip,
require => Class[pip]
}
file { '/home/jenkins/.transifexrc':
owner => 'jenkins',
group => 'jenkins',
mode => 0600,
ensure => 'present',
content => template('openstack_project/transifexrc.erb'),
require => User['jenkins'],
}
}