incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiten...@apache.org
Subject svn commit: r1375811 - in /incubator/ambari/trunk: CHANGES.txt hmc/puppet/modules/hdp-nagios/manifests/server.pp
Date Tue, 21 Aug 2012 21:40:53 GMT
Author: jitendra
Date: Tue Aug 21 21:40:52 2012
New Revision: 1375811

URL: http://svn.apache.org/viewvc?rev=1375811&view=rev
Log:
AMBARI-674. Nagios uninstall should cleanup temporary directories.

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/manifests/server.pp

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1375811&r1=1375810&r2=1375811&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Tue Aug 21 21:40:52 2012
@@ -86,6 +86,8 @@ Trunk (unreleased changes)
 
   BUG FIXES
 
+    AMBARI-674. Nagios uninstall should cleanup temporary directories. (jitendra)
+
     AMBARI-673. Going back to step 3 from step 5 in UI breaks DB
     (Jaimin Jetly via yusaku)
 

Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/manifests/server.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/manifests/server.pp?rev=1375811&r1=1375810&r2=1375811&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/manifests/server.pp (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/manifests/server.pp Tue Aug 21 21:40:52
2012
@@ -38,6 +38,11 @@ class hdp-nagios::server(
       unless => "test ! -e  /var/nagios/rw/nagios.cmd"
     }
 
+    hdp::exec { "rm -rf /tmp/hadoop-nagios" :
+      command => "rm -rf /tmp/hadoop-nagios",
+      unless => "test ! -e  /tmp/hadoop-nagios"
+    }
+
     hdp::directory { $nagios_config_dir:
       service_state => $service_state,
       force => true



Mime
View raw message