Skip to content

Commit

Permalink
don't specify a specific version of MSXML2.ServerXMLHTTP in wget for
Browse files Browse the repository at this point in the history
compatibility with older versions of Windows
  • Loading branch information
schisamo committed Oct 28, 2011
1 parent 124fd4b commit 1aa4d84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/chef/knife/core/windows_bootstrap_context.rb
Expand Up @@ -26,9 +26,9 @@ module Core
# following instance variables:
# * @config - a hash of knife's config values
# * @run_list - the run list for the node to boostrap
#
#
class WindowsBootstrapContext < BootstrapContext

def initialize(config, run_list, chef_config)
@config = config
@run_list = run_list
Expand Down Expand Up @@ -91,7 +91,7 @@ def win_wget
win_wget = <<-WGET
url = WScript.Arguments.Named("url")
path = WScript.Arguments.Named("path")
Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP")
Set wshShell = CreateObject( "WScript.Shell" )
Set objUserVariables = wshShell.Environment("USER")
Expand Down

0 comments on commit 1aa4d84

Please sign in to comment.