You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/06/06 22:40:14 UTC

svn commit: r1347106 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/package/rpm/SPECS/hmc.spec

Author: vikram
Date: Wed Jun  6 20:40:14 2012
New Revision: 1347106

URL: http://svn.apache.org/viewvc?rev=1347106&view=rev
Log:
AMBARI-362. Create lock file as part of rpm install (Contributed by Vikram)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/package/rpm/SPECS/hmc.spec

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347106&r1=1347105&r2=1347106&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed Jun  6 20:40:14 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-362. Create lock file as part of rpm install (Vikram)
+
   AMBARI-361. Display client nodes as part of cluster topology display (Yusaku via Vikram)
 
   AMBARI-360. Adding nodes that already part of the cluster should be avoidable (Vinod via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/package/rpm/SPECS/hmc.spec
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/package/rpm/SPECS/hmc.spec?rev=1347106&r1=1347105&r2=1347106&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/package/rpm/SPECS/hmc.spec (original)
+++ incubator/ambari/branches/ambari-186/hmc/package/rpm/SPECS/hmc.spec Wed Jun  6 20:40:14 2012
@@ -111,6 +111,8 @@ chown -R puppet:apache /var/log/hmc
 chown -R puppet:apache /etc/puppet
 mkdir -p /etc/puppet/rack/public
 mkdir -p /etc/puppet/rack/tmp
+touch /var/run/hmc/lockfile
+chown puppet:apache /var/run/hmc/lockfile
 cp /usr/share/puppet/ext/rack/files/config.ru /etc/puppet/rack
 chown puppet /etc/puppet/rack/config.ru