From 9e6fb0ae899c3cec8ded9d2f04f489980252ecea Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 17 Aug 2015 17:27:16 +1000 Subject: [PATCH] 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 --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 04e358c..74333e0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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"], ] }