This is an automated email from the ASF dual-hosted git repository.

aonishuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit 03b30150b70c6bae047ec1556308d20943d6b393
Author: Andrew Onishuk <aonis...@hortonworks.com>
AuthorDate: Thu Feb 8 13:37:28 2018 +0200

    AMBARI-22941. Debian stackdeploys failing with "ambari-agent: command not 
found" errors (aonishuk)
---
 ambari-agent/conf/unix/install-helper.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ambari-agent/conf/unix/install-helper.sh 
b/ambari-agent/conf/unix/install-helper.sh
index e305866..a97cf61 100644
--- a/ambari-agent/conf/unix/install-helper.sh
+++ b/ambari-agent/conf/unix/install-helper.sh
@@ -59,6 +59,10 @@ do_install(){
     mv /etc/ambari-agent/conf.save /etc/ambari-agent/conf_$(date 
'+%d_%m_%y_%H_%M').save
   fi
 
+  # setting up /usr/sbin/ambari-agent symlink
+  rm -f "$AMBARI_AGENT_BINARY_SYMLINK"
+  ln -s "$AMBARI_AGENT_BINARY" "$AMBARI_AGENT_BINARY_SYMLINK"
+
   # these symlinks (or directories) where created in ambari releases prior to 
ambari-2.6.2. Do clean up.   
   rm -rf "$OLD_COMMON_DIR" "$OLD_RESOURCE_MANAGEMENT_DIR" "$OLD_JINJA_DIR" 
"$OLD_SIMPLEJSON_DIR" "$OLD_COMMON_DIR" "$OLD_AMBARI_AGENT_DIR"
   

-- 
To stop receiving notification emails like this one, please contact
aonis...@apache.org.

Reply via email to