You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ap...@apache.org on 2016/04/12 18:23:08 UTC
bigtop git commit: BIGTOP-2382 Parameterise and expose
"default_hdfs_superuser" for hue.ini (Vishal Khandelwal)
Repository: bigtop
Updated Branches:
refs/heads/master c3973f243 -> fe56d273c
BIGTOP-2382 Parameterise and expose "default_hdfs_superuser" for hue.ini (Vishal Khandelwal)
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/fe56d273
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/fe56d273
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/fe56d273
Branch: refs/heads/master
Commit: fe56d273c50eb1e5ed205ad5861f35e765c5d9d9
Parents: c3973f2
Author: Andrew Purtell <ap...@apache.org>
Authored: Tue Apr 12 09:21:34 2016 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Tue Apr 12 09:22:24 2016 -0700
----------------------------------------------------------------------
bigtop-deploy/puppet/modules/hue/manifests/init.pp | 2 +-
bigtop-deploy/puppet/modules/hue/templates/hue.ini | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/fe56d273/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 26b1c47..0bbb091 100644
--- a/bigtop-deploy/puppet/modules/hue/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hue/manifests/init.pp
@@ -39,7 +39,7 @@ class hue {
$base_dn = undef , $bind_dn = undef, $bind_password = undef,
$user_name_attr = undef, $user_filter = undef,
$group_member_attr = undef, $group_filter = undef,
- $hue_apps = "all" ) {
+ $hue_apps = "all", $default_hdfs_superuser = "hdfs" ) {
$hue_packages = $hue_apps ? {
"all" => [ "hue", "hue-server" ], # The hue metapackage requires all apps
http://git-wip-us.apache.org/repos/asf/bigtop/blob/fe56d273/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 f80a9e3..c6b50a6 100644
--- a/bigtop-deploy/puppet/modules/hue/templates/hue.ini
+++ b/bigtop-deploy/puppet/modules/hue/templates/hue.ini
@@ -70,7 +70,7 @@
## default_user=hue
# This should be the hadoop cluster admin
- ## default_hdfs_superuser=hdfs
+ default_hdfs_superuser=<%= @default_hdfs_superuser %>
# If set to false, runcpserver will not actually start the web server.
# Used if Apache is being used as a WSGI container.