knife-windows 0.5.15 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-windows
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.15
5
- prerelease:
4
+ version: 0.6.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Seth Chisamore
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-25 00:00:00.000000000 Z
11
+ date: 2014-05-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: em-winrm
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -25,7 +23,6 @@ dependencies:
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
27
  - - ~>
31
28
  - !ruby/object:Gem::Version
@@ -46,16 +43,17 @@ files:
46
43
  - .gitignore
47
44
  - .rspec
48
45
  - .travis.yml
49
- - CHANGELOG
46
+ - CHANGELOG.md
47
+ - DOC_CHANGES.md
50
48
  - Gemfile
51
49
  - LICENSE
52
50
  - README.rdoc
51
+ - RELEASE_NOTES.md
53
52
  - Rakefile
54
53
  - features/knife_help.feature
55
54
  - features/support/env.rb
56
55
  - knife-windows.gemspec
57
56
  - lib/chef/knife/bootstrap/windows-chef-client-msi.erb
58
- - lib/chef/knife/bootstrap/windows-shell.erb
59
57
  - lib/chef/knife/bootstrap_windows_base.rb
60
58
  - lib/chef/knife/bootstrap_windows_ssh.rb
61
59
  - lib/chef/knife/bootstrap_windows_winrm.rb
@@ -67,31 +65,38 @@ files:
67
65
  - spec/functional/bootstrap_download_spec.rb
68
66
  - spec/spec_helper.rb
69
67
  - spec/unit/knife/bootstrap_template_spec.rb
68
+ - spec/unit/knife/bootstrap_windows_winrm_spec.rb
70
69
  - spec/unit/knife/winrm_spec.rb
71
70
  homepage: https://github.com/opscode/knife-windows
72
71
  licenses: []
72
+ metadata: {}
73
73
  post_install_message:
74
74
  rdoc_options: []
75
75
  require_paths:
76
76
  - lib
77
77
  required_ruby_version: !ruby/object:Gem::Requirement
78
- none: false
79
78
  requirements:
80
79
  - - ! '>='
81
80
  - !ruby/object:Gem::Version
82
81
  version: 1.9.1
83
82
  required_rubygems_version: !ruby/object:Gem::Requirement
84
- none: false
85
83
  requirements:
86
84
  - - ! '>='
87
85
  - !ruby/object:Gem::Version
88
86
  version: '0'
89
87
  requirements: []
90
88
  rubyforge_project:
91
- rubygems_version: 1.8.28
89
+ rubygems_version: 2.1.11
92
90
  signing_key:
93
- specification_version: 3
91
+ specification_version: 4
94
92
  summary: Plugin that adds functionality to Chef's Knife CLI for configuring/interacting
95
93
  with nodes running Microsoft Windows
96
- test_files: []
94
+ test_files:
95
+ - features/knife_help.feature
96
+ - features/support/env.rb
97
+ - spec/functional/bootstrap_download_spec.rb
98
+ - spec/spec_helper.rb
99
+ - spec/unit/knife/bootstrap_template_spec.rb
100
+ - spec/unit/knife/bootstrap_windows_winrm_spec.rb
101
+ - spec/unit/knife/winrm_spec.rb
97
102
  has_rdoc: true
data/CHANGELOG DELETED
@@ -1,14 +0,0 @@
1
- Release Notes - Knife Windows Plugin - Version 0.5.6
2
-
3
- ** New Feature
4
- * new default bootstrap template that installs Chef using official chef-client MSI installer
5
-
6
- Release Notes - Knife Windows Plugin - Version 0.5.4
7
-
8
- ** Bug
9
- * [KNIFE_WINDOWS-7] - Exception: NoMethodError: undefined method `env_namespace' for Savon:Module
10
- * [KNIFE_WINDOWS-8] - winrm based bootstrap fails with 'Bad HTTP response returned from server (500)'
11
-
12
-
13
- ** New Feature
14
- * [KNIFE_WINDOWS-6] - default bootstrap template should support encrypted_data_bag_secret
@@ -1,68 +0,0 @@
1
- @rem
2
- @rem Author:: Seth Chisamore (<schisamo@opscode.com>)
3
- @rem Copyright:: Copyright (c) 2011 Opscode, Inc.
4
- @rem License:: Apache License, Version 2.0
5
- @rem
6
- @rem Licensed under the Apache License, Version 2.0 (the "License");
7
- @rem you may not use this file except in compliance with the License.
8
- @rem You may obtain a copy of the License at
9
- @rem
10
- @rem http://www.apache.org/licenses/LICENSE-2.0
11
- @rem
12
- @rem Unless required by applicable law or agreed to in writing, software
13
- @rem distributed under the License is distributed on an "AS IS" BASIS,
14
- @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- @rem See the License for the specific language governing permissions and
16
- @rem limitations under the License.
17
- @rem
18
-
19
- <%= "SETX HTTP_PROXY \"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] %>
20
- mkdir C:\chef
21
-
22
- > C:\chef\wget.vbs (
23
- <%= win_wget %>
24
- )
25
-
26
- cscript /nologo C:\chef\wget.vbs /url:http://files.rubyforge.vm.bytemark.co.uk/rubyinstaller/rubyinstaller-1.8.7-p334.exe /path:%TEMP%\rubyinstaller.exe
27
- %TEMP%\rubyinstaller.exe /verysilent /dir="C:\ruby" /tasks="assocfiles,modpath"
28
-
29
- @rem Install the Ruby Dev Kit so we compile us some native gems
30
- cscript /nologo C:\chef\wget.vbs /url:http://cloud.github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe /path:%TEMP%\rubydevkit.exe
31
- mkdir C:\DevKit
32
- copy %TEMP%\rubydevkit.exe C:\DevKit
33
- cmd.exe /C C:\DevKit\rubydevkit.exe -y
34
-
35
- @rem update path during bootstrap session
36
- SET PATH=%PATH%;C:\ruby\bin
37
-
38
- cmd.exe /C ruby c:/DevKit/dk.rb init
39
- cmd.exe /C ruby c:/DevKit/dk.rb install
40
-
41
- cmd.exe /C gem install win32-api win32-service --platform=mswin32
42
- cmd.exe /C gem install win32-open3 rdp-ruby-wmi windows-api windows-pr --no-rdoc --no-ri --verbose
43
-
44
- @rem Install Chef gems separately to prevent failed to allocate memory errors
45
- cmd.exe /C gem install ohai --no-rdoc --no-ri --verbose
46
- cmd.exe /C gem install chef --no-rdoc --no-ri --verbose <%= bootstrap_version_string %>
47
-
48
- > C:\chef\validation.pem (
49
- <%= validation_key %>
50
- )
51
-
52
- <% if @config[:encrypted_data_bag_secret] -%>
53
- > C:\chef\encrypted_data_bag_secret (
54
- <%= encrypted_data_bag_secret %>
55
- )
56
- <% end -%>
57
-
58
- > C:\chef\client.rb (
59
- echo.require "win32ole"
60
- echo.WIN32OLE.codepage = WIN32OLE::CP_UTF8
61
- <%= config_content %>
62
- )
63
-
64
- > C:\chef\first-boot.json (
65
- <%= run_list %>
66
- )
67
-
68
- <%= start_chef %>