You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2011/05/25 21:45:42 UTC

svn commit: r1127650 - /incubator/vcl/trunk/managementnode/bin/vcld

Author: fapeeler
Date: Wed May 25 19:45:41 2011
New Revision: 1127650

URL: http://svn.apache.org/viewvc?rev=1127650&view=rev
Log:
VCL-463 
moved new.pm to handle reinstall state

Modified:
    incubator/vcl/trunk/managementnode/bin/vcld

Modified: incubator/vcl/trunk/managementnode/bin/vcld
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/bin/vcld?rev=1127650&r1=1127649&r2=1127650&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/bin/vcld (original)
+++ incubator/vcl/trunk/managementnode/bin/vcld Wed May 25 19:45:41 2011
@@ -497,13 +497,13 @@ sub make_new_child {
 	}
 
 	# The imageinuse state is now handled by inuse.pm
-	if ($state =~ /^(imageinuse|rebootsoft|reboothard|reinstall)$/) {
+	if ($state =~ /^(imageinuse|rebootsoft|reboothard)$/) {
 		notify($ERRORS{'DEBUG'}, $LOGFILE, "request will be processed by inuse.pm");
 		$state_module = "VCL::inuse";
 	}
 
 	# The tomaintenance state is handled by new.pm
-	if ($state =~ /^(tomaintenance|imageprep|reload|tovmhostinuse)$/) {
+	if ($state =~ /^(tomaintenance|imageprep|reload|reinstall|tovmhostinuse)$/) {
 		notify($ERRORS{'DEBUG'}, $LOGFILE, "request will be processed by new.pm");
 		$state_module = "VCL::new";
 	}