You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ud...@apache.org on 2014/12/12 11:11:16 UTC

[14/50] stratos git commit: Fix Tomcat cartridge dependency issue

Fix Tomcat cartridge dependency issue


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/fb8f23ef
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/fb8f23ef
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/fb8f23ef

Branch: refs/heads/master
Commit: fb8f23efc4a6503cae2dd72bded92c91f5186b15
Parents: 24f7f12
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Thu Dec 11 16:18:07 2014 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Thu Dec 11 16:18:07 2014 +0530

----------------------------------------------------------------------
 tools/puppet3/modules/tomcat/manifests/init.pp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/fb8f23ef/tools/puppet3/modules/tomcat/manifests/init.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/tomcat/manifests/init.pp b/tools/puppet3/modules/tomcat/manifests/init.pp
index b716c0f..56ba367 100644
--- a/tools/puppet3/modules/tomcat/manifests/init.pp
+++ b/tools/puppet3/modules/tomcat/manifests/init.pp
@@ -44,12 +44,11 @@ class tomcat(
     "/${target}/packs/apache-tomcat-${tomcat_version}.tar.gz":
       ensure => present,
       source => "puppet:///modules/tomcat/apache-tomcat-${tomcat_version}.tar.gz",
-      require => File["${target}/packs"];
   }
 
   file { '/mnt/tomcat':
     content => template('tomcat/tomcat.erb'),
-    require => File["${target}/packs"];
+    require => File["${target}/packs/apache-tomcat-${tomcat_version}.tar.gz"];
   }
 
   exec {