copying mb client libs depending on the mb type
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/a1625f8d Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/a1625f8d Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/a1625f8d Branch: refs/heads/master Commit: a1625f8d437f7d84772e05735fa4c59aee9b3413 Parents: ea98e13 Author: Nirmal Fernando <[email protected]> Authored: Sat Mar 29 19:49:27 2014 +0530 Committer: Nirmal Fernando <[email protected]> Committed: Sat Mar 29 19:49:27 2014 +0530 ---------------------------------------------------------------------- tools/puppet3/modules/agent/manifests/initialize.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a1625f8d/tools/puppet3/modules/agent/manifests/initialize.pp ---------------------------------------------------------------------- diff --git a/tools/puppet3/modules/agent/manifests/initialize.pp b/tools/puppet3/modules/agent/manifests/initialize.pp index ded6988..67d1d43 100755 --- a/tools/puppet3/modules/agent/manifests/initialize.pp +++ b/tools/puppet3/modules/agent/manifests/initialize.pp @@ -66,5 +66,15 @@ define agent::initialize ($repo, $version, $service, $local_dir, $target, $owner logoutput => 'on_failure', timeout => 0, require => Exec["extracting_stratos${service}-${version}.zip_for_${name}"]; + + } + + file { '${target}/apache-stratos-${service}-${version}/lib': + path => '${target}/apache-stratos-${service}-${version}/lib', + ensure => directory, + require => Exec["setting_permission_for_${name}"], + source => ['puppet:///modules/agent/${mb_type}'], + sourceselect => all, + recurse => true, } }
