Switch to a class require for deployment

Currently the second requirement for the ROOT.war deployment is an
Exec requirement that comes deep from within biemond-wildfly. This
is a layering violation and makes it impossible to upgrade the module.
Require the install class itself, rather than a part of its internals.

Change-Id: Ie381fcddd98a65c019a44cbde9054db6fafb88f4
This commit is contained in:
Steve Kowalik 2015-08-17 17:27:16 +10:00
parent 6e818df2c3
commit 9e6fb0ae89
1 changed files with 1 additions and 1 deletions

View File

@ -88,8 +88,8 @@ class zanata(
source => "/home/wildfly/${zanata_file}",
owner => 'wildfly',
require => [
Class['wildfly::install'],
Exec['download_zanata'],
Exec["tar ${wildfly_file} in /var/tmp"],
]
}