diff options
author | Peter Slawski <petersla@amazon.com> | 2015-02-18 15:05:07 -0800 |
---|---|---|
committer | Konstantin Boudnik <cos@apache.org> | 2015-02-23 13:50:36 -0800 |
commit | 32c5e7c36c8817bfc3e44431c935fb413ab48059 (patch) | |
tree | a39adcaae139041580076be32ae1437d1ebaca04 /bigtop-deploy | |
parent | bc1c2a42ef0e5a4f02ebddfa604e2b48b112fc7b (diff) |
BIGTOP-1694. puppet: Make httpfs subscribe to core-site and hdfs-site
This makes hadoop-httpfs subscribe to core-site.xml and hdfs-site.xml which
are used by hadoop-hdfs such as fs.defaultFS from core-site.xml.
Signed-off-by: Konstantin Boudnik <cos@apache.org>
Diffstat (limited to 'bigtop-deploy')
-rw-r--r-- | bigtop-deploy/puppet/modules/hadoop/manifests/init.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp index 6af1c4cf..bd6be184 100644 --- a/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp +++ b/bigtop-deploy/puppet/modules/hadoop/manifests/init.pp @@ -324,6 +324,7 @@ class hadoop ($hadoop_security_authentication = "simple", $hadoop_security_authentcation = $hadoop::hadoop_security_authentication, $kerberos_realm = $hadoop::kerberos_realm, ) inherits hadoop { + include common_hdfs if ($hadoop_security_authentication == "kerberos") { kerberos::host_keytab { "httpfs": @@ -355,7 +356,8 @@ class hadoop ($hadoop_security_authentication = "simple", service { "hadoop-httpfs": ensure => running, hasstatus => true, - subscribe => [Package["hadoop-httpfs"], File["/etc/hadoop-httpfs/conf/httpfs-site.xml"], File["/etc/hadoop-httpfs/conf/httpfs-env.sh"], File["/etc/hadoop-httpfs/conf/httpfs-signature.secret"]], + subscribe => [Package["hadoop-httpfs"], File["/etc/hadoop-httpfs/conf/httpfs-site.xml"], File["/etc/hadoop-httpfs/conf/httpfs-env.sh"], File["/etc/hadoop-httpfs/conf/httpfs-signature.secret"], + File["/etc/hadoop/conf/core-site.xml"], File["/etc/hadoop/conf/hdfs-site.xml"]], require => [ Package["hadoop-httpfs"] ], } Kerberos::Host_keytab <| title == "httpfs" |> -> Service["hadoop-httpfs"] |