Remove redundant spaces from cron commands
Change-Id: If545538c53677d4979e6f260a1f84caeea565c68
This commit is contained in:
parent
5b135ed130
commit
508b9f7fe5
@ -131,8 +131,8 @@ class nova::cron::archive_deleted_rows (
|
||||
$cron_cmd = 'nova-manage db archive_deleted_rows'
|
||||
|
||||
cron { 'nova-manage db archive_deleted_rows':
|
||||
command => "${sleep}${cron_cmd} ${purge_real} --max_rows ${max_rows} ${age_real} ${until_complete_real} \
|
||||
${all_cells_real} >>${destination} 2>&1",
|
||||
command => "${sleep}${cron_cmd}${purge_real} --max_rows ${max_rows}${age_real}${until_complete_real}${all_cells_real} \
|
||||
>>${destination} 2>&1",
|
||||
environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
|
||||
user => pick($user, $::nova::params::nova_user),
|
||||
minute => $minute,
|
||||
|
@ -101,8 +101,8 @@ class nova::cron::purge_shadow_tables (
|
||||
$cron_cmd = 'nova-manage db purge'
|
||||
|
||||
cron { 'nova-manage db purge':
|
||||
command => "${sleep}${cron_cmd} --before `date --date='today - ${age} days' +\\%D` ${verbose_real} \
|
||||
${all_cells_real} >>${destination} 2>&1",
|
||||
command => "${sleep}${cron_cmd} --before `date --date='today - ${age} days' +\\%D`${verbose_real}${all_cells_real} \
|
||||
>>${destination} 2>&1",
|
||||
environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
|
||||
user => pick($user, $::nova::params::nova_user),
|
||||
minute => $minute,
|
||||
|
Loading…
Reference in New Issue
Block a user