Fix error in 140chars lint check
Change-Id: Iaf4576e97503aeb5acb257d310fa23fb34a2d316
This commit is contained in:
@@ -167,8 +167,9 @@ class nova::cron::archive_deleted_rows (
|
||||
$cron_cmd = 'nova-manage db archive_deleted_rows'
|
||||
|
||||
cron { 'nova-manage db archive_deleted_rows':
|
||||
command => "${delay_cmd}${cron_cmd}${purge_real} --max_rows ${max_rows}${verbose_real}${age_real}${until_complete_real}${all_cells_real}${task_log_real}${sleep_real} \
|
||||
>>${destination} 2>&1",
|
||||
# lint:ignore:140chars
|
||||
command => "${delay_cmd}${cron_cmd}${purge_real} --max_rows ${max_rows}${verbose_real}${age_real}${until_complete_real}${all_cells_real}${task_log_real}${sleep_real} >>${destination} 2>&1",
|
||||
# lint:endignore
|
||||
environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
|
||||
user => pick($user, $::nova::params::nova_user),
|
||||
minute => $minute,
|
||||
|
@@ -102,8 +102,9 @@ class nova::cron::purge_shadow_tables (
|
||||
$cron_cmd = 'nova-manage db purge'
|
||||
|
||||
cron { 'nova-manage db purge':
|
||||
command => "${delay_cmd}${cron_cmd} --before `date --date='today - ${age} days' +\\%D`${verbose_real}${all_cells_real} \
|
||||
>>${destination} 2>&1",
|
||||
# lint:ignore:140chars
|
||||
command => "${delay_cmd}${cron_cmd} --before `date --date='today - ${age} days' +\\%D`${verbose_real}${all_cells_real} >>${destination} 2>&1",
|
||||
# lint:endignore
|
||||
environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
|
||||
user => pick($user, $::nova::params::nova_user),
|
||||
minute => $minute,
|
||||
|
Reference in New Issue
Block a user