Fix the update_users cron job.
Change-Id: Icb546b9c48f2618e1b2269d82b34cc5588bc2624
This commit is contained in:
parent
100609ec09
commit
2805fed59f
@ -69,7 +69,6 @@ class gerrit($virtual_hostname=$fqdn,
|
|||||||
$commentlinks = [],
|
$commentlinks = [],
|
||||||
$war,
|
$war,
|
||||||
$script_user,
|
$script_user,
|
||||||
$script_site,
|
|
||||||
$script_key_file,
|
$script_key_file,
|
||||||
$enable_melody = 'false',
|
$enable_melody = 'false',
|
||||||
$melody_session = 'false',
|
$melody_session = 'false',
|
||||||
|
@ -81,7 +81,6 @@ class openstack_project::gerrit (
|
|||||||
war => $war,
|
war => $war,
|
||||||
script_user => $script_user,
|
script_user => $script_user,
|
||||||
script_key_file => $script_key_file,
|
script_key_file => $script_key_file,
|
||||||
script_site => 'openstack',
|
|
||||||
mysql_password => $mysql_password,
|
mysql_password => $mysql_password,
|
||||||
email_private_key => $email_private_key,
|
email_private_key => $email_private_key,
|
||||||
testmode => $testmode,
|
testmode => $testmode,
|
||||||
@ -135,7 +134,7 @@ class openstack_project::gerrit (
|
|||||||
cron { "gerritsyncusers":
|
cron { "gerritsyncusers":
|
||||||
user => gerrit2,
|
user => gerrit2,
|
||||||
minute => "*/15",
|
minute => "*/15",
|
||||||
command => "sleep $((RANDOM\\%60+60)) && python /usr/local/gerrit/scripts/update_gerrit_users.py ${script_user} ${script_key_file} ${script_site}",
|
command => "sleep $((RANDOM\\%60+60)) && python /usr/local/gerrit/scripts/update_gerrit_users.py ${script_user} ${script_key_file} openstack",
|
||||||
require => Class['::gerrit'],
|
require => Class['::gerrit'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user