incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject svn commit: r1376285 - in /incubator/ambari/branches/branch-0.9: CHANGES.txt hmc/puppet/modules/hdp/manifests/init.pp
Date Wed, 22 Aug 2012 22:14:37 GMT
Author: hitesh
Date: Wed Aug 22 22:14:37 2012
New Revision: 1376285

URL: http://svn.apache.org/viewvc?rev=1376285&view=rev
Log:
AMBARI-675. Make puppet generate more logs on command failures (Contributed by hitesh)

Modified:
    incubator/ambari/branches/branch-0.9/CHANGES.txt
    incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp/manifests/init.pp

Modified: incubator/ambari/branches/branch-0.9/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/CHANGES.txt?rev=1376285&r1=1376284&r2=1376285&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/CHANGES.txt (original)
+++ incubator/ambari/branches/branch-0.9/CHANGES.txt Wed Aug 22 22:14:37 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.9.0 - unreleased
 
+  AMBARI-675. Make puppet generate more logs on command failures (hitesh)
+
   AMBARI-673. Going back to step 3 from step 5 in UI breaks DB
   (Jaimin Jetly via yusaku)
 

Modified: incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp/manifests/init.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp/manifests/init.pp?rev=1376285&r1=1376284&r2=1376285&view=diff
==============================================================================
--- incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp/manifests/init.pp (original)
+++ incubator/ambari/branches/branch-0.9/hmc/puppet/modules/hdp/manifests/init.pp Wed Aug
22 22:14:37 2012
@@ -25,7 +25,9 @@ class hdp(
 {
   import 'params.pp'
   include hdp::params
-  
+
+  Exec { logoutput => 'on_failure' }
+
   group { $hdp::params::hadoop_user_group :
     ensure => present
   }
@@ -221,7 +223,7 @@ define hdp::exec(
   $timeout = 900,
   $try_sleep = undef,
   $initial_wait = undef,
-  $logoutput = undef,
+  $logoutput = 'on_failure',
   $cwd = undef
 )
 {



Mime
View raw message