Add second requirement for the ROOT.war deployment
Deploying puppet-zanata from scratch can sometimes fail because wildfly has yet to be unpacked when puppet goes to copy the ROOT.war into the deployment directory, which does not yet exist. Fix this issue by adding a requirement for tar to run as well. Change-Id: Id0229864b64ce39c70b559e1eb5d94822f1988ec Co-Authored-By: Colleen Murphy <colleen@gazlene.net>
This commit is contained in:
parent
52d2ebc5c2
commit
0ad03dc5e0
@ -47,6 +47,7 @@ class zanata(
|
||||
) {
|
||||
|
||||
$zanata_file = inline_template('<%= File.basename(@zanata_url) %>')
|
||||
$wildfly_file = inline_template('<%= File.basename(@zanata_wildfly_install_url) %>')
|
||||
$zanata_hibernate_file = inline_template('<%= File.basename(@zanata_hibernate_url) %>')
|
||||
$zanata_mojarra_file = inline_template('<%= File.basename(@zanata_mojarra_url) %>')
|
||||
|
||||
@ -88,6 +89,7 @@ class zanata(
|
||||
owner => 'wildfly',
|
||||
require => [
|
||||
Exec['download_zanata'],
|
||||
Exec["tar ${wildfly_file} in /var/tmp"],
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user