Updated Branches: refs/heads/trunk dea1f811a -> bd97893f7
AMBARI-3083. Starting services while enabling security fails due to unzip command not being available on the host( odaichenko) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/bd97893f Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/bd97893f Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/bd97893f Branch: refs/heads/trunk Commit: bd97893f7684871fc7a38c489605b623f27cca48 Parents: dea1f81 Author: Oleksandr Diachenko <[email protected]> Authored: Wed Sep 4 16:10:47 2013 +0300 Committer: Oleksandr Diachenko <[email protected]> Committed: Wed Sep 4 16:11:14 2013 +0300 ---------------------------------------------------------------------- ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp | 8 ++++++++ ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp | 4 ++++ 2 files changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bd97893f/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp ---------------------------------------------------------------------- diff --git a/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp b/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp index d355bd3..58949d2 100644 --- a/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp +++ b/ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp @@ -118,6 +118,14 @@ class hdp( @hdp::lzo::package{ 32:} @hdp::lzo::package{ 64:} } + if ($hdp::params::security_enabled) { + hdp::package{ 'unzip': + ensure => 'present', + size => $size, + java_needed => false, + lzo_needed => false + } + } } #TODO: treat consistently http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bd97893f/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp ---------------------------------------------------------------------- diff --git a/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp b/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp index 0b11b87..fe6151b 100644 --- a/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp +++ b/ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp @@ -717,6 +717,10 @@ class hdp::params() suse => ['apache2', 'apache2-mod_php5'] } } + }, + + unzip => { + 'ALL' => {'ALL' => {'ALL' => 'unzip'}} } }
