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/07 01:22:24 UTC

svn commit: r1347207 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/puppet/modules/hdp-oozie/manifests/service.pp

Author: vikram
Date: Wed Jun  6 23:22:24 2012
New Revision: 1347207

URL: http://svn.apache.org/viewvc?rev=1347207&view=rev
Log:
AMBARI-426. Reinstall of cluster after failure to install results in failure (Contributed by Ramya)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347207&r1=1347206&r2=1347207&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed Jun  6 23:22:24 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-426. Reinstall of cluster after failure to install results in failure (Ramya via Vikram)
+
   AMBARI-427. Class not found Class['hdp-zookeeper::service'] during uninstall (Ramya via Vikram)
 
   AMBARI-531. Remove/disable reconfigure option for Sqoop, Pig, Ganglia and Templeton (Yusaku via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp?rev=1347207&r1=1347206&r2=1347207&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp (original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-oozie/manifests/service.pp Wed Jun  6 23:22:24 2012
@@ -29,7 +29,9 @@ class hdp-oozie::service(
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_tmp_dir : }
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_data_dir : }
   hdp-oozie::service::directory { $hdp-oozie::params::oozie_lib_dir : }
-  hdp-oozie::service::createsymlinks { '/usr/lib/oozie/oozie-server/lib/mapred-site.xml' : }
+  if ($ensure == 'running') {
+    hdp-oozie::service::createsymlinks { '/usr/lib/oozie/oozie-server/lib/mapred-site.xml' : }
+  }
 
   anchor{'hdp-oozie::service::begin':} -> Hdp-oozie::Service::Directory<||> -> anchor{'hdp-oozie::service::end':}