Fix duplicated user keys
c7f44fde73
fixed this for
spec/classes/nova_cron_archive_deleted_rows_spec.rb , lets
fix it also for spec/classes/nova_cron_purge_shadow_tables.rb .
Change-Id: I817ec7c497c510a410590c66b9f3f6f66ffc1b90
This commit is contained in:
parent
c3aa5a91fa
commit
f1b4a14042
@ -27,7 +27,6 @@ describe 'nova::cron::purge_shadow_tables' do
|
||||
it 'configures a nova purge cron with verbose output' do
|
||||
is_expected.to contain_cron('nova-manage db purge').with(
|
||||
:command => "nova-manage db purge --before `date --date='today - #{params[:age]} days' +\\%D` --verbose >>#{params[:destination]} 2>&1",
|
||||
:user => 'nova',
|
||||
:environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
|
||||
:user => params[:user],
|
||||
:minute => params[:minute],
|
||||
@ -50,7 +49,6 @@ describe 'nova::cron::purge_shadow_tables' do
|
||||
it 'configures a nova purge cron without verbose output' do
|
||||
is_expected.to contain_cron('nova-manage db purge').with(
|
||||
:command => "nova-manage db purge --before `date --date='today - #{params[:age]} days' +\\%D` >>#{params[:destination]} 2>&1",
|
||||
:user => 'nova',
|
||||
:environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
|
||||
:user => params[:user],
|
||||
:minute => params[:minute],
|
||||
@ -73,7 +71,6 @@ describe 'nova::cron::purge_shadow_tables' do
|
||||
it 'configures a nova purge cron with all cells enabled' do
|
||||
is_expected.to contain_cron('nova-manage db purge').with(
|
||||
:command => "nova-manage db purge --before `date --date='today - #{params[:age]} days' +%D` --verbose --all-cells >>#{params[:destination]} 2>&1",
|
||||
:user => 'nova',
|
||||
:environment => 'PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh',
|
||||
:user => params[:user],
|
||||
:minute => params[:minute],
|
||||
|
Loading…
Reference in New Issue
Block a user