crontab: ensure nova-common is installed before
Because we create a crontab with 'nova' user, we need to ensure it exists. So we need to make sure Nova is installed (common package). Otherwise, it can lead to dependencies issues. Change-Id: I5157e710e4f2e95c4ec9c1f45b414e4a3dbf9228
This commit is contained in:
parent
dd5dd0fca3
commit
54802658ad
|
@ -64,5 +64,6 @@ class nova::cron::archive_deleted_rows (
|
|||
monthday => $monthday,
|
||||
month => $month,
|
||||
weekday => $weekday,
|
||||
require => Package['nova-common'],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,8 @@ describe 'nova::cron::archive_deleted_rows' do
|
|||
:hour => 0,
|
||||
:monthday => '*',
|
||||
:month => '*',
|
||||
:weekday => '*'
|
||||
:weekday => '*',
|
||||
:require => 'Package[nova-common]',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue