Call two jeepyb scripts with new logging

Now that the jeepyb command line utility scripts have grown
consistent logging, make use of it when we call register-zanata-projects
and manage-projects.

Change-Id: If6933b13ae57bf379dee7b13c5c37e93d54b7b54
Depends-On: Ibc85f8e3b47f9c7898ad4334511b44e91ecbd736
This commit is contained in:
Steve Kowalik 2015-08-14 14:33:20 +10:00
parent ef7b7e040f
commit 70989e9452
2 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ class openstack_project::gerrit (
if ($testmode == false) {
exec { 'manage_projects':
command => '/usr/local/bin/manage-projects -v >> /var/log/manage_projects.log 2>&1',
command => '/usr/local/bin/manage-projects -v -l /var/log/manage_projects.log',
timeout => 900, # 15 minutes
subscribe => [
File['/home/gerrit2/projects.yaml'],

View File

@ -99,7 +99,7 @@ class openstack_project::translate_dev(
include jeepyb
exec { 'register-zanata-projects':
command => '/usr/local/bin/register-zanata-projects >> /var/log/register-zanata-projects.log 2>&1',
command => '/usr/local/bin/register-zanata-projects -v -l /var/log/register-zanata-projects.log',
timeout => 900, # 15 minutes
subscribe => File['/home/wildfly/projects.yaml'],
refreshonly => true,