Repository: incubator-stratos
Updated Branches:
  refs/heads/master a58bf605a -> 5ba78e85e


adding mb client jar copying functionality to puppet scripts of lb


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

Branch: refs/heads/master
Commit: 05fba6a93c7401886cb4fb612f741df7ce03f4b7
Parents: a58bf60
Author: Nirmal Fernando <[email protected]>
Authored: Sat Mar 29 22:23:30 2014 +0530
Committer: Nirmal Fernando <[email protected]>
Committed: Sat Mar 29 22:23:30 2014 +0530

----------------------------------------------------------------------
 tools/puppet3/modules/lb/manifests/initialize.pp | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/05fba6a9/tools/puppet3/modules/lb/manifests/initialize.pp
----------------------------------------------------------------------
diff --git a/tools/puppet3/modules/lb/manifests/initialize.pp 
b/tools/puppet3/modules/lb/manifests/initialize.pp
index 026652d..8a13b3d 100755
--- a/tools/puppet3/modules/lb/manifests/initialize.pp
+++ b/tools/puppet3/modules/lb/manifests/initialize.pp
@@ -64,4 +64,14 @@ define lb::initialize ($repo, $version, $service, 
$local_dir, $target, $mode, $o
       timeout   => 0,
       require   => 
Exec["extracting_stratos${service}-${version}.zip_for_${name}"];
   }
+  
+  file { 
"/${target}/apache-stratos-${service}-${version}/repository/components/lib":
+    path         => 
"/${target}/apache-stratos-${service}-${version}/repository/components/lib",
+    ensure       => directory,
+    require      => Exec["setting_permission_for_${name}"],
+    source       => ["puppet:///modules/lb/${mb_type}"],
+    sourceselect => all,
+    recurse      => true,
+  }
+
 }

Reply via email to