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:53:39 UTC

svn commit: r1347115 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/puppet/modules/hdp-mysql/manifests/server.pp

Author: vikram
Date: Wed Jun  6 20:53:39 2012
New Revision: 1347115

URL: http://svn.apache.org/viewvc?rev=1347115&view=rev
Log:
AMBARI-365. Uninstall/reinstall complains about OS Type as unsupported (Contributed by Ramya)

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

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347115&r1=1347114&r2=1347115&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed Jun  6 20:53:39 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-365. Uninstall/reinstall complains about OS Type as unsupported (Ramya via Vikram)
+
   AMBARI-363. Nagios should monitor puppet agents (Suhas via Vikram)  
 
   AMBARI-362. Create lock file as part of rpm install (Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-mysql/manifests/server.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-mysql/manifests/server.pp?rev=1347115&r1=1347114&r2=1347115&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-mysql/manifests/server.pp (original)
+++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-mysql/manifests/server.pp Wed Jun  6 20:53:39 2012
@@ -3,12 +3,7 @@ class hdp-mysql::server(
   $opts = {}
 ) inherits  hdp-mysql::params
 { 
-  if ($service_state == 'no_op') {
-  } elsif ($service_state in ['uninstalled']) {  
-      hdp::package { 'mysql' :
-        ensure => 'uninstalled',
-        size   => 32
-      }
+  if ($service_state in ['no_op','uninstalled']) {
    } elsif ($service_state in ['running','stopped','installed_and_configured']) {
    
     $db_user = $hdp-mysql::params::db_user