You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by of...@apache.org on 2016/04/11 19:27:20 UTC

bigtop git commit: BIGTOP-2381: Making Zookeeper hosts templatize in puppet module of hue

Repository: bigtop
Updated Branches:
  refs/heads/master 1e23e67d3 -> c3973f243


BIGTOP-2381: Making Zookeeper hosts templatize in puppet module of hue

Signed-off-by: Olaf Flebbe <of...@fleb.be>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/c3973f24
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/c3973f24
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/c3973f24

Branch: refs/heads/master
Commit: c3973f2438fce1ecb5a908bdcbbb65f88db15067
Parents: 1e23e67
Author: Amit Kabra <am...@gmail.com>
Authored: Mon Apr 11 19:23:21 2016 +0200
Committer: Olaf Flebbe <of...@fleb.be>
Committed: Mon Apr 11 19:25:06 2016 +0200

----------------------------------------------------------------------
 bigtop-deploy/puppet/modules/hue/manifests/init.pp | 1 +
 bigtop-deploy/puppet/modules/hue/templates/hue.ini | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/c3973f24/bigtop-deploy/puppet/modules/hue/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hue/manifests/init.pp b/bigtop-deploy/puppet/modules/hue/manifests/init.pp
index fa6af88..26b1c47 100644
--- a/bigtop-deploy/puppet/modules/hue/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hue/manifests/init.pp
@@ -29,6 +29,7 @@ class hue {
   class server($sqoop2_url = "http://localhost:12000/sqoop", $solr_url = "http://localhost:8983/solr/", $hbase_thrift_url = "",
                $webhdfs_url, $rm_host, $rm_port, $oozie_url, $rm_proxy_url, $history_server_url,
                $hive_host = "", $hive_port = "10000",
+		$zookeeper_host_port = "localhost:2181",
                $rm_logical_name = undef, $rm_api_port = "8088", $app_blacklist = "impala, security",
                $hue_host = "0.0.0.0", $hue_port = "8888", $hue_timezone = "America/Los_Angeles",
                $default_fs = "hdfs://localhost:8020",

http://git-wip-us.apache.org/repos/asf/bigtop/blob/c3973f24/bigtop-deploy/puppet/modules/hue/templates/hue.ini
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hue/templates/hue.ini b/bigtop-deploy/puppet/modules/hue/templates/hue.ini
index 4d079ae..f80a9e3 100644
--- a/bigtop-deploy/puppet/modules/hue/templates/hue.ini
+++ b/bigtop-deploy/puppet/modules/hue/templates/hue.ini
@@ -908,7 +908,7 @@
     [[[default]]]
       # Zookeeper ensemble. Comma separated list of Host/Port.
       # e.g. localhost:2181,localhost:2182,localhost:2183
-      host_ports=localhost:2181
+      host_ports=<%= @zookeeper_host_port %>
 
       # The URL of the REST contrib service (required for znode browsing)
       rest_url=http://localhost:9998