BIGTOP-2409 : nt_domain configuration option for hue to connect to Active 
Directory

Signed-off-by: Olaf Flebbe <[email protected]>


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

Branch: refs/heads/master
Commit: 30001c324cacd71e65e8d53fa9804b5ce49d8f55
Parents: 66fdf28
Author: Amit Kabra <[email protected]>
Authored: Mon Apr 25 15:14:35 2016 +0530
Committer: Olaf Flebbe <[email protected]>
Committed: Tue Apr 26 21:45:42 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/bigtop/blob/30001c32/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 85c1b95..c4f70ca 100644
--- a/bigtop-deploy/puppet/modules/hue/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hue/manifests/init.pp
@@ -32,6 +32,7 @@ class hue {
                $zookeeper_host_port = "localhost:2181",
                $force_username_lowercase = "false",
                $group_filter_value = "objectclass=groupOfEntries",
+               $nt_domain = undef,
                $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/30001c32/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 7979572..30269b2 100644
--- a/bigtop-deploy/puppet/modules/hue/templates/hue.ini
+++ b/bigtop-deploy/puppet/modules/hue/templates/hue.ini
@@ -198,6 +198,11 @@
     # The search base for finding users and groups
     base_dn="<%= @base_dn %>"
 
+<%     if @nt_domain -%>
+    # The NT domain to connect to (only for use with Active Directory)
+    nt_domain=<%= @nt_domain %>
+<%     end -%>
+
     # URL of the LDAP server
     ldap_url=<%= @ldap_url %> 
 

Reply via email to