Package<| tag == 'keystone-package'|> -> File<| title == '/etc/apache2/sites-available' |>

Ensure the Keystone package is installed before the apache service stuff.

Depends-On: I723bb97310dfb2a737ddcdb79caa2a02ef4e211b
Change-Id: I255a3cd973d310e5c401c2eb3e9f1013f710b097
This commit is contained in:
Thomas Goirand 2018-06-13 18:40:30 +02:00
parent 6d54f6a047
commit 09b9fde287
1 changed files with 5 additions and 0 deletions

View File

@ -79,4 +79,9 @@ class keystone::deps {
# Installation or config changes will always restart services.
Anchor['keystone::install::end'] ~> Anchor['keystone::service::begin']
Anchor['keystone::config::end'] ~> Anchor['keystone::service::begin']
# Install the package before the Apache module purges wsgi-keystone.conf.
# Otherwise, the run isn't indempotent.
Package<| tag == 'keystone-package'|> -> File<| title == '/etc/apache2/sites-enabled' |>
Package<| tag == 'keystone-package'|> -> File<| title == '/etc/apache2/sites-available' |>
}