Author: arkurth
Date: Mon Sep 13 17:43:19 2010
New Revision: 996613
URL: http://svn.apache.org/viewvc?rev=996613&view=rev
Log:
VCL-196
Added full System32 path to all .exe calls in the Windows modules. There were
problems with some utilities such as qwinsta.exe being run on 64-bit versions
of Windows. The full path wasn't specified and the utility only resided in the
%Sysnative% directory. This resulted in the .exe not being found.
Made structure of subroutines that call get_system32_path() consistent.
VCL-164
Added call to wait_for_power_off in Windows.pm::shutdown() rather than
immediately powering off the computer after it becomes unresponsive.
Other
Renamed Windows.pm::filesystem_entry_exists() to file_exists to match other OS
modules.
Updated Windows.pm::delete_File::Basename() to run faster. All of the commands
to set the owner, permissions, and delete the file are now concatenated and
sent as a single SSH command rather than several different SSH commands.
Reworked Windows.pm::reg_query() to return a single value if the value argument
is specified or a hash if it isn't specified.
Modified:
incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows.pm
incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_5.pm
incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm