You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2016/04/21 11:58:26 UTC
ambari git commit: AMBARI-15992. Ambari2400:Deploy fails at Confirm
Hosts page due to Two-way SSL authentication failure (aonishuk)
Repository: ambari
Updated Branches:
refs/heads/trunk 75f02a912 -> 32ba72830
AMBARI-15992. Ambari2400:Deploy fails at Confirm Hosts page due to Two-way SSL authentication failure (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/32ba7283
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/32ba7283
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/32ba7283
Branch: refs/heads/trunk
Commit: 32ba72830fccebfca99cac880ee5ead64e6b7d0b
Parents: 75f02a9
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Thu Apr 21 12:55:58 2016 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Thu Apr 21 12:55:58 2016 +0300
----------------------------------------------------------------------
ambari-agent/conf/unix/ambari-agent | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/32ba7283/ambari-agent/conf/unix/ambari-agent
----------------------------------------------------------------------
diff --git a/ambari-agent/conf/unix/ambari-agent b/ambari-agent/conf/unix/ambari-agent
index fbe219d..77b475b 100755
--- a/ambari-agent/conf/unix/ambari-agent
+++ b/ambari-agent/conf/unix/ambari-agent
@@ -75,8 +75,8 @@ fi
cd $AGENT_WORKING_DIR
change_files_permissions() {
- if [ ! -z "$keysdir" ]; then
- ambari-sudo.sh chown -R $current_user "$keysdir"
+ if [ ! -z "$KEYSDIR" ]; then
+ ambari-sudo.sh chown -R $current_user "$KEYSDIR"
fi
ambari-sudo.sh mkdir -p "$AMBARI_PID_DIR"
ambari-sudo.sh chown -R $current_user "$AMBARI_PID_DIR"