You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ds...@apache.org on 2013/10/29 18:19:03 UTC

git commit: AMBARI-3615. Ambari agent creates empty folder /var/ambari-agent (dsen)

Updated Branches:
  refs/heads/branch-1.4.2 cc1b2e18d -> a66a3206b


AMBARI-3615. Ambari agent creates empty folder /var/ambari-agent (dsen)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/a66a3206
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/a66a3206
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/a66a3206

Branch: refs/heads/branch-1.4.2
Commit: a66a3206b6201710366ec1cbc497fb0e328c3388
Parents: cc1b2e1
Author: Dmitry Sen <ds...@hortonworks.com>
Authored: Tue Oct 29 19:18:46 2013 +0200
Committer: Dmitry Sen <ds...@hortonworks.com>
Committed: Tue Oct 29 19:18:46 2013 +0200

----------------------------------------------------------------------
 ambari-agent/conf/unix/ambari-agent.ini | 2 +-
 ambari-agent/pom.xml                    | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/a66a3206/ambari-agent/conf/unix/ambari-agent.ini
----------------------------------------------------------------------
diff --git a/ambari-agent/conf/unix/ambari-agent.ini b/ambari-agent/conf/unix/ambari-agent.ini
index ca94ba1..249f9d8 100644
--- a/ambari-agent/conf/unix/ambari-agent.ini
+++ b/ambari-agent/conf/unix/ambari-agent.ini
@@ -27,7 +27,7 @@ ping_port=8670
 cache_dir=/var/lib/ambari-agent/cache
 
 [stack]
-installprefix=/var/ambari-agent/
+installprefix=/var/run/ambari-agent/
 upgradeScriptsDir=/var/lib/ambari-agent/upgrade_stack
 
 [puppet]

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/a66a3206/ambari-agent/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index e05eba4..41a225f 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -323,12 +323,6 @@
               <groupname>root</groupname>
             </mapping>
             <mapping>
-              <directory>/var/ambari-agent</directory>
-              <filemode>755</filemode>
-              <username>root</username>
-              <groupname>root</groupname>
-            </mapping>
-            <mapping>
               <directory>/etc/rc.d/init.d</directory>
               <filemode>755</filemode>
               <username>root</username>