Repository: bigtop
Updated Branches:
  refs/heads/master ede88c375 -> 6e9630ca4


BIGTOP-2407: Making force_username_lowercase variable templatize in puppet 
module of hue


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

Branch: refs/heads/master
Commit: 6e9630ca49d5137392bd0330fac740222ed4bce3
Parents: ede88c3
Author: Amit Kabra <[email protected]>
Authored: Mon Apr 25 21:44:09 2016 +0200
Committer: Olaf Flebbe <[email protected]>
Committed: Mon Apr 25 21:45:18 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/6e9630ca/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 0bbb091..c7f1603 100644
--- a/bigtop-deploy/puppet/modules/hue/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/hue/manifests/init.pp
@@ -30,6 +30,7 @@ class hue {
                $webhdfs_url, $rm_host, $rm_port, $oozie_url, $rm_proxy_url, 
$history_server_url,
                $hive_host = "", $hive_port = "10000",
                $zookeeper_host_port = "localhost:2181",
+               $force_username_lowercase = "false",
                $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/6e9630ca/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 c6b50a6..39260a7 100644
--- a/bigtop-deploy/puppet/modules/hue/templates/hue.ini
+++ b/bigtop-deploy/puppet/modules/hue/templates/hue.ini
@@ -248,7 +248,7 @@
     ignore_username_case=true
 
     # Force usernames to lowercase when creating new users from LDAP.
-    ## force_username_lowercase=false
+    force_username_lowercase=<%= @force_username_lowercase %>
 
     # Choose which kind of subgrouping to use: nested or suboordinate 
(deprecated).
     ## subgroups=suboordinate

Reply via email to