Author: mahadev
Date: Mon Apr 15 06:23:02 2013
New Revision: 1467859

URL: http://svn.apache.org/r1467859
Log:
AMBARI-1871. ambari-agent RPM does not claim ownership of 
/var/lib/ambari-agent. (Matthew Farrellee via mahadev)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-agent/pom.xml

Modified: incubator/ambari/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1467859&r1=1467858&r2=1467859&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Mon Apr 15 06:23:02 2013
@@ -711,6 +711,9 @@ Trunk (unreleased changes):
  AMBARI-1384. WorkflowJsonService service doesn't use the API framework and is
  inconsistent with other API's. (billie)
 
+ AMBARI-1871. ambari-agent RPM does not claim ownership of
+ /var/lib/ambari-agent. (Matthew Farrellee via mahadev)
+
  BUG FIXES
 
  AMBARI-1919. JobTracker History Server failed to come up on 1.3.0 stack

Modified: incubator/ambari/trunk/ambari-agent/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/pom.xml?rev=1467859&r1=1467858&r2=1467859&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/pom.xml (original)
+++ incubator/ambari/trunk/ambari-agent/pom.xml Mon Apr 15 06:23:02 2013
@@ -239,7 +239,13 @@
               </sources>
             </mapping>
             <mapping>
-              <directory>/var/lib/ambari-agent</directory>
+              <directory>/var/lib/${project.artifactId}</directory>
+              <filemode>755</filemode>
+              <username>root</username>
+              <groupname>root</groupname>
+            </mapping>
+            <mapping>
+              <directory>/var/lib/${project.artifactId}</directory>
               <filemode>700</filemode>
               <username>root</username>
               <groupname>root</groupname>


Reply via email to