knife-windows 0.8.2 → 0.8.3.rc.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,161 +1,161 @@
1
- Knife Windows Plugin
2
- ====================
3
-
4
- This plugin adds additional functionality to the Chef Knife CLI tool for
5
- configuring/interacting with nodes running Microsoft Windows. The subcommands
6
- should function on any system running Ruby 1.9.1+ but nodes being configured
7
- via these subcommands require Windows Remote Management (WinRM) 1.0+.WinRM
8
- allows you to call native objects in Windows. This includes, but is not
9
- limited to, running batch scripts, powershell scripts and fetching WMI
10
- variables. For more information on WinRM, please visit
11
- [Microsoft's WinRM site](http://msdn.microsoft.com/en-us/library/aa384426(v=VS.85).aspx).
12
- You will want to familiarize yourself with (certain key aspects) of WinRM
13
- because you will be writing scripts / running commands with this tool to get
14
- you from specific point A to specific point B.
15
-
16
- WinRM is built into Windows 7 and Windows Server 2008+. It can also be easily installed on older version of Windows, including:
17
-
18
- * Windows Server 2003
19
- * Windows Vista
20
-
21
- More information can be found on [Microsoft Support article 968930](http://support.microsoft.com/?kbid=968930).
22
-
23
- ## Subcommands
24
-
25
- This plugin provides the following Knife subcommands. Specific command options can be found by invoking the subcommand with a `--help` flag
26
-
27
- ### knife winrm
28
-
29
- The `winrm` subcommand allows you to invoke commands in parallel on a subset of the nodes in your infrastructure. The `winrm` subcommand uses the same syntax as the [search subcommand](http://wiki.opscode.com/display/chef/Search); you could could find the uptime of all your web servers using the command:
30
-
31
- knife winrm "role:web" "net stats srv" -x Administrator -P 'super_secret_password'
32
-
33
- Or force a chef run:
34
-
35
- knife winrm 'ec2-50-xx-xx-124.compute-1.amazonaws.com' 'chef-client -c c:/chef/client.rb' -m -x Administrator -P 'super_secret_password'
36
- ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:49 +0000] INFO: Starting Chef Run (Version 0.9.12)
37
- ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:50 +0000] WARN: Node ip-0A502FFB has an empty run list.
38
- ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:53 +0000] INFO: Chef Run complete in 4.383966 seconds
39
- ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:53 +0000] INFO: cleaning the checksum cache
40
- ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:53 +0000] INFO: Running report handlers
41
- ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:53 +0000] INFO: Report handlers complete
42
-
43
- This subcommand operates in a manner similar to [knife ssh](http://wiki.opscode.com/display/chef/Knife#Knife-SSHSubcommand)...just leveraging the WinRM protocol for communication. It also include's `knife ssh`'s "[interactive session mode](http://wiki.opscode.com/display/chef/Knife#Knife-InteractiveMode)"
44
-
45
- ### knife bootstrap windows winrm
46
-
47
- Performs a Chef Bootstrap (via the WinRM protocol) on the target node. The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server. The main assumption is a baseline OS installation exists. It is primarily intended for Chef Client systems that talk to a Chef server.
48
-
49
- This subcommand operates in a manner similar to [knife bootstrap](http://wiki.opscode.com/display/chef/Knife+Bootstrap)...just leveraging the WinRM protocol for communication. An initial run_list for the node can also be passed to the subcommand. Example usage:
50
-
51
- knife bootstrap windows winrm ec2-50-xx-xx-124.compute-1.amazonaws.com -r 'role[webserver],role[production]' -x Administrator -P 'super_secret_password'
52
-
53
- ### knife bootstrap windows ssh
54
-
55
- Performs a Chef Bootstrap (via the SSH protocol) on the target node. The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server. The main assumption is a baseline OS installation exists. It is primarily intended for Chef Client systems that talk to a Chef server.
56
-
57
- This subcommand assumes the SSH session will use the Windows native cmd.exe command shell vs a bash shell through an emulated cygwin layer. Most popular Windows based SSHd daemons like [freeSSHd](http://www.freesshd.com/) and [WinSSHD](http://www.bitvise.com/winsshd) behave this way.
58
-
59
- An initial run_list for the node can also be passed to the subcommand. Example usage:
60
-
61
- knife bootstrap windows ssh ec2-50-xx-xx-124.compute-1.amazonaws.com -r 'role[webserver],role[production]' -x Administrator -i ~/.ssh/id_rsa
62
-
63
- ## BOOTSTRAP TEMPLATES:
64
-
65
- This gem provides the bootstrap template `windows-chef-client-msi`.
66
-
67
- ### windows-chef-client-msi
68
-
69
- This bootstrap template does the following:
70
-
71
- * Installs the latest version of Chef (and all dependencies) using the `chef-client` msi.
72
- * Writes the validation.pem per the local knife configuration.
73
- * Writes a default config file for Chef (`C:\chef\client.rb`) using values from the `knife.rb`.
74
- * Creates a JSON attributes file containing the specified run list and run Chef.
75
-
76
- This is the default bootstrap template used by both the `windows bootstrap` subcommands.
77
-
78
- ## REQUIREMENTS/SETUP:
79
-
80
- ### Ruby
81
-
82
- Ruby 1.9.1+ is needed.
83
-
84
- ### Chef Version
85
-
86
- Knife plugins require >= Chef 0.10. More details about Knife plugins can be [found on the Chef wiki](http://wiki.opscode.com/display/chef/Knife+Plugins).
87
-
88
- ## Nodes
89
-
90
- **NOTE**: Before any WinRM related knife subcommands will function correctly a node's WinRM installation must be configured correctly. The below settings should be added to your base server image (AMI) or passed in using some sort of user-data mechanism provided by your cloud provider.
91
-
92
- A server running WinRM must also be configured properly to allow outside connections and the entire network path from the knife workstation to the server. The easiest way to accomplish this is to use [WinRM's quick configuration option](http://msdn.microsoft.com/en-us/library/aa384372(v=vs.85).aspx#quick_default_configuration):
93
-
94
- winrm quickconfig -q
95
-
96
- The Chef and Ohai gem installations (that occur during bootstrap) take more
97
- memory than the default 150MB WinRM allocates per shell -- this can slow down
98
- bootstrap. Optionally increase the memory limit to 300MB with the following command:
99
-
100
- winrm set winrm/config/winrs @{MaxMemoryPerShellMB="300"}
101
-
102
- Bootstrap commands can take longer than the WinRM default 60 seconds to
103
- complete, optionally increase to 30 minutes if bootstrap terminates a command prematurely:
104
-
105
- winrm set winrm/config @{MaxTimeoutms="1800000"}
106
-
107
- WinRM supports both the HTTP and HTTPS transports and the following
108
- authentication schemes: Kerberos, Digest, Certificate and Basic. The details
109
- of these authentication transports are outside of the scope of this README but
110
- details can be found on the
111
- [WinRM configuration guide](http://msdn.microsoft.com/en-us/library/aa384372(v=vs.85).aspx).
112
- Currently, this plugin support Kerberos and Basic authentication schemes on
113
- all platform versions. The negotiate protocol which allows NTLM is fully
114
- supported when `knife windows bootstrap` is executed on a Windows system; if
115
- it is executed on a non-Windows system, certificate authentication or Kerberos
116
- should be used instead via the `:kerberos_service` and related options of the subcommands.
117
-
118
- **NOTE**: In order to use NTLM / Negotiate to authenticate as the user
119
- specified by the `--winrm-user` (`-x`) option, you must include the user's
120
- Windows domain when specifying the user name using the format `domain\user`
121
- where the backslash ('`\`') character separates the user from the domain. If
122
- an account local to the node is being used to access, `.` may be used as the domain:
123
-
124
- knife bootstrap windows winrm web1.cloudapp.net -r 'server::web' -x 'proddomain\webuser' -P 'super_secret_password'
125
- knife bootstrap windows winrm db1.cloudapp.net -r 'server::db' -x '.\localadmin' -P 'super_secret_password'
126
-
127
- For development and testing purposes, unencrypted traffic with Basic authentication can make it easier to test connectivity:
128
-
129
- winrm set winrm/config/service @{AllowUnencrypted="true"}
130
- winrm set winrm/config/service/auth @{Basic="true"}
131
-
132
- ## Troubleshooting
133
-
134
- * When I run the winrm command I get: "Error: Invalid use of command line. Type "winrm -?" for help."
135
- You're running the winrm command from PowerShell and you need to put the key/value pair in single quotes. For example:
136
-
137
- winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="512"}'
138
-
139
- ## CONTRIBUTING:
140
-
141
- Please file bugs against the KNIFE_WINDOWS project at https://github.com/opscode/knife-windows/issues.
142
-
143
- More information on the contribution process for Opscode projects can be found in the [Chef Contributions document](http://docs.opscode.com/community_contributions.html).
144
-
145
- # LICENSE:
146
-
147
- Author:: Seth Chisamore (<schisamo@opscode.com>)
148
- Copyright:: Copyright (c) 2014 Opscode, Inc.
149
- License:: Apache License, Version 2.0
150
-
151
- Licensed under the Apache License, Version 2.0 (the "License");
152
- you may not use this file except in compliance with the License.
153
- You may obtain a copy of the License at
154
-
155
- http://www.apache.org/licenses/LICENSE-2.0
156
-
157
- Unless required by applicable law or agreed to in writing, software
158
- distributed under the License is distributed on an "AS IS" BASIS,
159
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
160
- See the License for the specific language governing permissions and
161
- limitations under the License.
1
+ Knife Windows Plugin
2
+ ====================
3
+
4
+ This plugin adds additional functionality to the Chef Knife CLI tool for
5
+ configuring/interacting with nodes running Microsoft Windows. The subcommands
6
+ should function on any system running Ruby 1.9.1+ but nodes being configured
7
+ via these subcommands require Windows Remote Management (WinRM) 1.0+.WinRM
8
+ allows you to call native objects in Windows. This includes, but is not
9
+ limited to, running batch scripts, powershell scripts and fetching WMI
10
+ variables. For more information on WinRM, please visit
11
+ [Microsoft's WinRM site](http://msdn.microsoft.com/en-us/library/aa384426(v=VS.85).aspx).
12
+ You will want to familiarize yourself with (certain key aspects) of WinRM
13
+ because you will be writing scripts / running commands with this tool to get
14
+ you from specific point A to specific point B.
15
+
16
+ WinRM is built into Windows 7 and Windows Server 2008+. It can also be easily installed on older version of Windows, including:
17
+
18
+ * Windows Server 2003
19
+ * Windows Vista
20
+
21
+ More information can be found on [Microsoft Support article 968930](http://support.microsoft.com/?kbid=968930).
22
+
23
+ ## Subcommands
24
+
25
+ This plugin provides the following Knife subcommands. Specific command options can be found by invoking the subcommand with a `--help` flag
26
+
27
+ ### knife winrm
28
+
29
+ The `winrm` subcommand allows you to invoke commands in parallel on a subset of the nodes in your infrastructure. The `winrm` subcommand uses the same syntax as the [search subcommand](http://wiki.opscode.com/display/chef/Search); you could could find the uptime of all your web servers using the command:
30
+
31
+ knife winrm "role:web" "net stats srv" -x Administrator -P 'super_secret_password'
32
+
33
+ Or force a chef run:
34
+
35
+ knife winrm 'ec2-50-xx-xx-124.compute-1.amazonaws.com' 'chef-client -c c:/chef/client.rb' -m -x Administrator -P 'super_secret_password'
36
+ ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:49 +0000] INFO: Starting Chef Run (Version 0.9.12)
37
+ ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:50 +0000] WARN: Node ip-0A502FFB has an empty run list.
38
+ ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:53 +0000] INFO: Chef Run complete in 4.383966 seconds
39
+ ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:53 +0000] INFO: cleaning the checksum cache
40
+ ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:53 +0000] INFO: Running report handlers
41
+ ec2-50-xx-xx-124.compute-1.amazonaws.com [Fri, 04 Mar 2011 22:00:53 +0000] INFO: Report handlers complete
42
+
43
+ This subcommand operates in a manner similar to [knife ssh](http://wiki.opscode.com/display/chef/Knife#Knife-SSHSubcommand)...just leveraging the WinRM protocol for communication. It also include's `knife ssh`'s "[interactive session mode](http://wiki.opscode.com/display/chef/Knife#Knife-InteractiveMode)"
44
+
45
+ ### knife bootstrap windows winrm
46
+
47
+ Performs a Chef Bootstrap (via the WinRM protocol) on the target node. The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server. The main assumption is a baseline OS installation exists. It is primarily intended for Chef Client systems that talk to a Chef server.
48
+
49
+ This subcommand operates in a manner similar to [knife bootstrap](http://wiki.opscode.com/display/chef/Knife+Bootstrap)...just leveraging the WinRM protocol for communication. An initial run_list for the node can also be passed to the subcommand. Example usage:
50
+
51
+ knife bootstrap windows winrm ec2-50-xx-xx-124.compute-1.amazonaws.com -r 'role[webserver],role[production]' -x Administrator -P 'super_secret_password'
52
+
53
+ ### knife bootstrap windows ssh
54
+
55
+ Performs a Chef Bootstrap (via the SSH protocol) on the target node. The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server. The main assumption is a baseline OS installation exists. It is primarily intended for Chef Client systems that talk to a Chef server.
56
+
57
+ This subcommand assumes the SSH session will use the Windows native cmd.exe command shell vs a bash shell through an emulated cygwin layer. Most popular Windows based SSHd daemons like [freeSSHd](http://www.freesshd.com/) and [WinSSHD](http://www.bitvise.com/winsshd) behave this way.
58
+
59
+ An initial run_list for the node can also be passed to the subcommand. Example usage:
60
+
61
+ knife bootstrap windows ssh ec2-50-xx-xx-124.compute-1.amazonaws.com -r 'role[webserver],role[production]' -x Administrator -i ~/.ssh/id_rsa
62
+
63
+ ## BOOTSTRAP TEMPLATES:
64
+
65
+ This gem provides the bootstrap template `windows-chef-client-msi`.
66
+
67
+ ### windows-chef-client-msi
68
+
69
+ This bootstrap template does the following:
70
+
71
+ * Installs the latest version of Chef (and all dependencies) using the `chef-client` msi.
72
+ * Writes the validation.pem per the local knife configuration.
73
+ * Writes a default config file for Chef (`C:\chef\client.rb`) using values from the `knife.rb`.
74
+ * Creates a JSON attributes file containing the specified run list and run Chef.
75
+
76
+ This is the default bootstrap template used by both the `windows bootstrap` subcommands.
77
+
78
+ ## REQUIREMENTS/SETUP:
79
+
80
+ ### Ruby
81
+
82
+ Ruby 1.9.1+ is needed.
83
+
84
+ ### Chef Version
85
+
86
+ Knife plugins require >= Chef 0.10. More details about Knife plugins can be [found on the Chef wiki](http://wiki.opscode.com/display/chef/Knife+Plugins).
87
+
88
+ ## Nodes
89
+
90
+ **NOTE**: Before any WinRM related knife subcommands will function correctly a node's WinRM installation must be configured correctly. The below settings should be added to your base server image (AMI) or passed in using some sort of user-data mechanism provided by your cloud provider.
91
+
92
+ A server running WinRM must also be configured properly to allow outside connections and the entire network path from the knife workstation to the server. The easiest way to accomplish this is to use [WinRM's quick configuration option](http://msdn.microsoft.com/en-us/library/aa384372(v=vs.85).aspx#quick_default_configuration):
93
+
94
+ winrm quickconfig -q
95
+
96
+ The Chef and Ohai gem installations (that occur during bootstrap) take more
97
+ memory than the default 150MB WinRM allocates per shell -- this can slow down
98
+ bootstrap. Optionally increase the memory limit to 300MB with the following command:
99
+
100
+ winrm set winrm/config/winrs @{MaxMemoryPerShellMB="300"}
101
+
102
+ Bootstrap commands can take longer than the WinRM default 60 seconds to
103
+ complete, optionally increase to 30 minutes if bootstrap terminates a command prematurely:
104
+
105
+ winrm set winrm/config @{MaxTimeoutms="1800000"}
106
+
107
+ WinRM supports both the HTTP and HTTPS transports and the following
108
+ authentication schemes: Kerberos, Digest, Certificate and Basic. The details
109
+ of these authentication transports are outside of the scope of this README but
110
+ details can be found on the
111
+ [WinRM configuration guide](http://msdn.microsoft.com/en-us/library/aa384372(v=vs.85).aspx).
112
+ Currently, this plugin support Kerberos and Basic authentication schemes on
113
+ all platform versions. The negotiate protocol which allows NTLM is fully
114
+ supported when `knife windows bootstrap` is executed on a Windows system; if
115
+ it is executed on a non-Windows system, certificate authentication or Kerberos
116
+ should be used instead via the `:kerberos_service` and related options of the subcommands.
117
+
118
+ **NOTE**: In order to use NTLM / Negotiate to authenticate as the user
119
+ specified by the `--winrm-user` (`-x`) option, you must include the user's
120
+ Windows domain when specifying the user name using the format `domain\user`
121
+ where the backslash ('`\`') character separates the user from the domain. If
122
+ an account local to the node is being used to access, `.` may be used as the domain:
123
+
124
+ knife bootstrap windows winrm web1.cloudapp.net -r 'server::web' -x 'proddomain\webuser' -P 'super_secret_password'
125
+ knife bootstrap windows winrm db1.cloudapp.net -r 'server::db' -x '.\localadmin' -P 'super_secret_password'
126
+
127
+ For development and testing purposes, unencrypted traffic with Basic authentication can make it easier to test connectivity:
128
+
129
+ winrm set winrm/config/service @{AllowUnencrypted="true"}
130
+ winrm set winrm/config/service/auth @{Basic="true"}
131
+
132
+ ## Troubleshooting
133
+
134
+ * When I run the winrm command I get: "Error: Invalid use of command line. Type "winrm -?" for help."
135
+ You're running the winrm command from PowerShell and you need to put the key/value pair in single quotes. For example:
136
+
137
+ winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="512"}'
138
+
139
+ ## CONTRIBUTING:
140
+
141
+ Please file bugs against the KNIFE_WINDOWS project at https://github.com/opscode/knife-windows/issues.
142
+
143
+ More information on the contribution process for Opscode projects can be found in the [Chef Contributions document](http://docs.opscode.com/community_contributions.html).
144
+
145
+ # LICENSE:
146
+
147
+ Author:: Seth Chisamore (<schisamo@opscode.com>)
148
+ Copyright:: Copyright (c) 2014 Opscode, Inc.
149
+ License:: Apache License, Version 2.0
150
+
151
+ Licensed under the Apache License, Version 2.0 (the "License");
152
+ you may not use this file except in compliance with the License.
153
+ You may obtain a copy of the License at
154
+
155
+ http://www.apache.org/licenses/LICENSE-2.0
156
+
157
+ Unless required by applicable law or agreed to in writing, software
158
+ distributed under the License is distributed on an "AS IS" BASIS,
159
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
160
+ See the License for the specific language governing permissions and
161
+ limitations under the License.
data/RELEASE_NOTES.md CHANGED
@@ -1,62 +1,39 @@
1
- <!---
2
- This file is reset every time a new release is done. The contents of this file are for the currently unreleased version.
3
-
4
- Example Note:
5
-
6
- ## Example Heading
7
- Details about the thing that changed that needs to get included in the Release Notes in markdown.
8
- -->
9
- # knife-windows 0.8.2 release notes:
10
- This release of knife-windows addresses a regression in knife-windows 0.8.0
11
- from previous releases where `knife winrm` and `knife bootstrap windows`
12
- commands fail due to inability to authenticate:
13
- [knife-windows #108](https://github.com/opscode/knife-windows/issues/108).
14
-
15
- You can install the fix for this issue by upgrading to this new version using
16
- the `gem` command:
17
-
18
- gem install knife-windows --pre
19
-
20
- A thank you goes to **Richard Lavey** for reporting [knife-windows #108](https://github.com/opscode/knife-windows/issues/108).
21
-
22
- ## Impact of [knife-windows #108](https://github.com/opscode/knife-windows/issues/108)
23
-
24
- [knife-windows #108](https://github.com/opscode/knife-windows/issues/108) will affect a given user if all of the following are true:
25
-
26
- * You are running `knife-windows` subcommands on a Windows workstation
27
- * The remote node you're interacting with via `knife-windows` has a WinRM
28
- configuration with the `WSMan:\localhost\Service\AllowUnencrypted` (in
29
- PowerShell's WinRM settings drive provider)
30
-
31
- In this situation, you will receive an authentication error message from
32
- the `knife winrm` or `knife bootstrap windows` command such as
33
- `Error: Unencrypted communication not supported`. To resolve this error,
34
- simply install this version of the gem as described earlier.
35
-
36
- If you are running the `knife` commands from a non-Windows operating system,
37
- [knife-windows #108](https://github.com/opscode/knife-windows/issues/108) does
38
- not affect you, so you don't need to upgrade just for this issue.
39
-
40
- ## Reporting issues and contributing
41
-
42
- `knife-windows` issues like the one addressed in this release should be
43
- reported in the ticketing system at https://github.com/opscode/knife-windows/issues. You can learn more about how to contribute features and bug fixes to `knife-windows` in the [Chef Contributions document](http://docs.opscode.com/community_contributions.html).
44
-
45
- ## Features added in knife-windows 0.8.2
46
- None.
47
-
48
- ## Issues fixed in knife-windows 0.8.2
49
- [knife-windows #108](https://github.com/opscode/knife-windows/issues/108) Error: Unencrypted communication not supported if remote server does not require encryption
50
-
51
- The fix in this release will cause a behavior change from the 0.8.0 release:
52
-
53
- * As described in the [documentation changes](https://github.com/opscode/knife-windows/blob/0.8.0/DOC_CHANGES.md) for the 0.8.0 release of the `knife-windows`, the negotiate authentication
54
- protocol will only be used in this 0.8.2 release if a domain is specified (you can specify '.' as
55
- the domain if you want to use the local workstation as the domain). Due to a
56
- defect in the 0.8.0 release, the negotiate protocol was being used even when
57
- the domain was not specified.
58
-
59
- ## knife-windows on RubyGems and Github
60
- https://rubygems.org/gems/knife-windows
61
- https://github.com/opscode/knife-windows
62
-
1
+ <!---
2
+ This file is reset every time a new release is done. The contents of this file are for the currently unreleased version.
3
+
4
+ Example Note:
5
+
6
+ ## Example Heading
7
+ Details about the thing that changed that needs to get included in the Release Notes in markdown.
8
+ -->
9
+ # knife-windows 0.8.3 release notes
10
+ This release of knife-windows addresses a bug exposed by the Chef Client 12.0
11
+ release where Windows nodes are bootstrapped with Chef Client 12 even though
12
+ the Chef Client version of knife is 11, which is inconsistent with the
13
+ bootstrap behavior of non-Windows systems with knife (such systems are correctly
14
+ bootstrapped with Chef Client 11):
15
+
16
+ [knife-windows #131](https://github.com/opscode/knife-windows/issues/131) Windows should be bootstrapped using latest Chef Client version compatible with knife's version just like non-Windows systems.
17
+
18
+ You can install the fix for this issue by upgrading to this new version using
19
+ the `gem` command:
20
+
21
+ gem install knife-windows --pre
22
+
23
+ Our thanks go to **David Crowder** for reporting [knife-windows #131](https://github.com/opscode/knife-windows/issues/131).
24
+
25
+ ## Reporting issues and contributing
26
+
27
+ `knife-windows` issues like the one addressed in this release should be
28
+ reported in the ticketing system at https://github.com/opscode/knife-windows/issues. You can learn more about how to contribute features and bug fixes to `knife-windows` in the [Chef Contributions document](http://docs.opscode.com/community_contributions.html).
29
+
30
+ ## Features added in knife-windows 0.8.3
31
+ None.
32
+
33
+ ## Issues fixed in knife-windows 0.8.3
34
+ [knife-windows #131](https://github.com/opscode/knife-windows/issues/131) Windows should be bootstrapped using latest Chef Client version compatible with knife's version just like non-Windows systems.
35
+
36
+ ## knife-windows on RubyGems and Github
37
+ https://rubygems.org/gems/knife-windows
38
+ https://github.com/opscode/knife-windows
39
+
data/Rakefile CHANGED
@@ -1,16 +1,16 @@
1
- require 'bundler'
2
- Bundler::GemHelper.install_tasks
3
-
4
- begin
5
- require 'rspec/core/rake_task'
6
-
7
- task :default => :spec
8
-
9
- desc "Run all specs in spec directory"
10
- RSpec::Core::RakeTask.new(:spec) do |t|
11
- t.pattern = 'spec/**/*_spec.rb'
12
- end
13
-
14
- rescue LoadError
15
- STDERR.puts "\n*** RSpec not available. (sudo) gem install rspec to run unit tests. ***\n\n"
16
- end
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ begin
5
+ require 'rspec/core/rake_task'
6
+
7
+ task :default => :spec
8
+
9
+ desc "Run all specs in spec directory"
10
+ RSpec::Core::RakeTask.new(:spec) do |t|
11
+ t.pattern = 'spec/**/*_spec.rb'
12
+ end
13
+
14
+ rescue LoadError
15
+ STDERR.puts "\n*** RSpec not available. (sudo) gem install rspec to run unit tests. ***\n\n"
16
+ end