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 2018/02/09 12:17:46 UTC
[ambari] branch branch-2.6 updated: AMBARI-22941. Debian
stackdeploys failing with "ambari-agent: command not found" errors
(aonishuk)
This is an automated email from the ASF dual-hosted git repository.
aonishuk pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.6 by this push:
new 7f652c5 AMBARI-22941. Debian stackdeploys failing with "ambari-agent: command not found" errors (aonishuk)
7f652c5 is described below
commit 7f652c518112a08e667f2d0d08cd69df8b936189
Author: Andrew Onishuk <ao...@hortonworks.com>
AuthorDate: Thu Feb 8 13:37:36 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 70f463d..6d92557 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
aonishuk@apache.org.