Install heat cron job after all heat packages

Noticed this in integration job on Ubuntu Bionic.

2018-11-22 06:45:17 +0000 Puppet (err): Could not prefetch cron provider
'crontab' target 'heat': Could not read crontab for heat: Execution of
'crontab -u heat -l' returned 1: crontab:  user `heat' unknown. Treating
as empty

The user is probably not installed in the common
package so changing the dep chaining to wait for
all the heat-package tagged packages.

Change-Id: I0245b91a475a37a86297e888232c8a3e4b7d119e
This commit is contained in:
Tobias Urdin 2018-11-22 10:29:25 +01:00
parent ffc4e32f40
commit c588e230e1
1 changed files with 1 additions and 1 deletions

View File

@ -82,5 +82,5 @@ class heat::cron::purge_deleted (
weekday => $weekday
}
Package['heat-common'] -> Cron['heat-manage purge_deleted']
Package<| tag == 'heat-package' |> -> Cron['heat-manage purge_deleted']
}