Переглянути джерело

AMBARI-1767. Add ability to customize ambari_qa user. (smohanty)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1463631 13f79535-47bb-0310-9956-ffa450edef68
Sumit Mohanty 12 роки тому
батько
коміт
233d0ee7e1

+ 2 - 0
CHANGES.txt

@@ -544,6 +544,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1767. Add ability to customize "ambari_qa" user. (smohanty)
+
  AMBARI-1770. Hue installation fails due to manifest errors. (swagle)
 
  AMBARI-1764. Unable to get all tasks from more than one request_id by one

+ 3 - 3
ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/client.pp

@@ -44,9 +44,9 @@ class hdp-hadoop::client(
       $masterHost = $kerberos_adminclient_host[0]
       hdp::download_keytab { 'hadoop_client_ambari_qa_keytab' :
         masterhost => $masterHost,
-        keytabdst => "${$keytab_path}/ambari_qa.headless.keytab",
-        keytabfile => 'ambari_qa.headless.keytab',
-        owner => 'ambari_qa',
+        keytabdst => "${$keytab_path}/${smokeuser}.headless.keytab",
+        keytabfile => "${smokeuser}.headless.keytab",
+        owner => $smokeuser,
         hostnameInPrincipals => 'no'
       }
     }