Author: rvs
Date: Tue Oct 25 01:27:27 2011
New Revision: 1188484
URL: http://svn.apache.org/viewvc?rev=1188484&view=rev
Log:
BIGTOP-150. hadoop puppet deployment needs to install hadoop-sbin on datanodes
when security is turned on
Modified:
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
Modified:
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
URL:
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp?rev=1188484&r1=1188483&r2=1188484&view=diff
==============================================================================
---
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
(original)
+++
incubator/bigtop/trunk/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp
Tue Oct 25 01:27:27 2011
@@ -49,11 +49,10 @@ class hadoop {
ensure => latest,
}
- package { ["hadoop-native"]: # KRB: "hadoop-sbin"
+ package { "hadoop-native":
ensure => latest,
require => [Package["hadoop"], Yumrepo["Bigtop"]],
}
-
}
@@ -78,7 +77,12 @@ class hadoop {
require => [ Package["hadoop-datanode"] ],
}
-
+ if ($hadoop_security_authentication == "kerberos") {
+ package { "hadoop-sbin":
+ ensure => latest,
+ require => [Package["hadoop"], Yumrepo["Bigtop"]],
+ }
+ }
}
define create_hdfs_dirs() {