chef 11.14.0.rc.2-x86-mingw32 → 11.14.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,19 @@ end
30
30
 
31
31
  module FFI
32
32
  class Pointer
33
- def read_wstring(num_wchars)
33
+ def read_wstring(num_wchars = nil)
34
+ if num_wchars.nil?
35
+ # Find the length of the string
36
+ length = 0
37
+ last_char = nil
38
+ while last_char != "\000\000" do
39
+ length += 1
40
+ last_char = self.get_bytes(0,length * 2)[-2..-1]
41
+ end
42
+
43
+ num_wchars = length
44
+ end
45
+
34
46
  Chef::ReservedNames::Win32::Unicode.wide_to_utf8(self.get_bytes(0, num_wchars*2))
35
47
  end
36
48
  end
@@ -87,11 +87,7 @@ shared_examples_for "a content deploy strategy" do
87
87
  end
88
88
  end
89
89
 
90
- # Win2003 has annoying differences in ACL inheritance behavior that make
91
- # the default ACLs substantially different from those created on subsequent
92
- # windows versions. The behaviors here are also covered by resource-level
93
- # tests so we'll skip win2k3 here to keep the tests simple.
94
- it "touches the file to create it (Windows)", :windows_only, :not_supported_on_win2k3 do
90
+ it "touches the file to create it (Windows)", :windows_only do
95
91
  content_deployer.create(target_file_path)
96
92
  File.should exist(target_file_path)
97
93
  file_info = File.stat(target_file_path)
@@ -102,11 +98,16 @@ shared_examples_for "a content deploy strategy" do
102
98
  security_obj = Chef::ReservedNames::Win32::Security::SecurableObject.new(target_file_path)
103
99
 
104
100
  security_descriptor = security_obj.security_descriptor(true)
105
- security_descriptor.dacl.each_with_index do |ace, index|
106
- ace.inherited?.should be_true
107
- ace.mask.should == parent_aces[index].mask
101
+ # On certain windows systems like 2003 and Azure VMs there are some default
102
+ # ACEs that are not inherited from parents. So filter out the parents before
103
+ # comparing the aces
104
+ self_aces = security_descriptor.dacl.select do |ace|
105
+ ace_inherits?(ace)
108
106
  end
109
107
 
108
+ self_aces.each_with_index do |ace, index|
109
+ ace.mask.should == parent_aces[index].mask
110
+ end
110
111
  end
111
112
  end
112
113
 
@@ -50,7 +50,8 @@ describe 'knife common options' do
50
50
  end
51
51
  end
52
52
 
53
- context 'And chef_zero.host is 0.0.0.0' do
53
+ # 0.0.0.0 is not a valid address to bind to on windows.
54
+ context 'And chef_zero.host is 0.0.0.0', :unix_only do
54
55
  before(:each) { Chef::Config.chef_zero.host = '0.0.0.0' }
55
56
 
56
57
  it 'knife raw /nodes/x should retrieve the role' do
@@ -24,15 +24,9 @@ describe 'Chef::ReservedNames::Win32::File', :windows_only do
24
24
  @path = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "data", "old_home_dir", "my-dot-emacs"))
25
25
  end
26
26
 
27
- it "should not leak memory" do
28
- pending "Fix required for CHEF-5004"
29
- test = lambda { Chef::ReservedNames::Win32::File.symlink?(@path) }
30
- test.should_not leak_memory(:warmup => 50, :iterations => 100)
31
- end
32
-
33
27
  it "should not leak significant memory" do
34
28
  test = lambda { Chef::ReservedNames::Win32::File.symlink?(@path) }
35
- test.should_not leak_memory(:warmup => 50000, :iterations => 100)
29
+ test.should_not leak_memory(:warmup => 50000, :iterations => 50000)
36
30
  end
37
31
 
38
32
  it "should not leak handles" do
@@ -23,7 +23,7 @@ module Matchers
23
23
  def initialize(opts={}, &block)
24
24
  @warmup = opts[:warmup] || 5
25
25
  @iterations = opts[:iterations] || 100
26
- @variance = opts[:variance] || 1000
26
+ @variance = opts[:variance] || 5000
27
27
  end
28
28
 
29
29
  def failure_message_for_should
@@ -240,7 +240,7 @@ shared_examples_for "a securable resource with existing target" do
240
240
 
241
241
  describe "when setting owner" do
242
242
  before do
243
- resource.owner('Administrator')
243
+ resource.owner(SID.admin_account_name)
244
244
  resource.run_action(:create)
245
245
  end
246
246
 
@@ -525,18 +525,25 @@ shared_examples_for "a securable resource without existing target" do
525
525
  it "has the inheritable acls of parent directory if no acl is specified" do
526
526
  File.exist?(path).should == false
527
527
 
528
+ # Collect the inheritable acls form the parent by creating a file without
529
+ # any specific ACLs
528
530
  parent_acls = parent_inheritable_acls
529
531
 
532
+ # On certain flavors of Windows the default list of ACLs sometimes includes
533
+ # non-inherited ACLs. Filter them out here.
534
+ parent_inherited_acls = parent_acls.dacl.collect do |ace|
535
+ ace.inherited?
536
+ end
537
+
530
538
  resource.run_action(:create)
531
539
 
532
- descriptor.dacl.each_with_index do |ace, index|
533
- # On Windows Server 2003 OS creates a default non-inheritable
534
- # ACL during file creation unless otherwise specified.
535
- ace.inherited?.should == true unless windows_win2k3?
536
- ace.should == parent_acls.dacl[index]
540
+ # Similarly filter out the non-inherited ACLs
541
+ resource_inherited_acls = descriptor.dacl.collect do |ace|
542
+ ace.inherited?
537
543
  end
544
+
545
+ resource_inherited_acls.should == parent_inherited_acls
538
546
  end
539
547
 
540
548
  end
541
549
  end
542
-
@@ -0,0 +1,48 @@
1
+ #
2
+ # Author:: Lamont Granquist (<lamont@getchef.com>)
3
+ #
4
+ # Copyright:: Copyright (c) 2012 Chef Software, Inc.
5
+ # License:: Apache License, Version 2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+
20
+ require 'spec_helper'
21
+
22
+ describe Chef::Formatters::Base do
23
+ let(:out) { double("out") }
24
+ let(:err) { double("err") }
25
+ let(:formatter) { Chef::Formatters::Base.new(out, err) }
26
+
27
+ it "starts with an indentation of zero" do
28
+ expect(formatter.output.indent).to eql(0)
29
+ end
30
+
31
+ it "increments it to two correctly" do
32
+ formatter.indent_by(2)
33
+ expect(formatter.output.indent).to eql(2)
34
+ end
35
+
36
+ it "increments it and then decrements it corectly" do
37
+ formatter.indent_by(2)
38
+ formatter.indent_by(-2)
39
+ expect(formatter.output.indent).to eql(0)
40
+ end
41
+
42
+ it "does not allow negative indentation" do
43
+ formatter.indent_by(-2)
44
+ expect(formatter.output.indent).to eql(0)
45
+ end
46
+ end
47
+
48
+
@@ -38,5 +38,39 @@ describe "HTTP Connection" do
38
38
  subject.build_http_client.open_timeout.should_not be_nil
39
39
  end
40
40
  end
41
- end
42
41
 
42
+ describe "#proxy_uri" do
43
+ shared_examples_for "a proxy uri" do
44
+ let(:proxy_host) { "proxy.mycorp.com" }
45
+ let(:proxy_port) { 8080 }
46
+ let(:proxy) { "#{proxy_prefix}#{proxy_host}:#{proxy_port}" }
47
+
48
+ before do
49
+ Chef::Config["#{uri.scheme}_proxy"] = proxy
50
+ Chef::Config[:no_proxy] = nil
51
+ end
52
+
53
+ it "should contain the host" do
54
+ proxy_uri = subject.proxy_uri
55
+ proxy_uri.host.should == proxy_host
56
+ end
57
+
58
+ it "should contain the port" do
59
+ proxy_uri = subject.proxy_uri
60
+ proxy_uri.port.should == proxy_port
61
+ end
62
+ end
63
+
64
+ context "when the config setting is normalized (does not contain the scheme)" do
65
+ include_examples "a proxy uri" do
66
+ let(:proxy_prefix) { "" }
67
+ end
68
+ end
69
+
70
+ context "when the config setting is not normalized (contains the scheme)" do
71
+ include_examples "a proxy uri" do
72
+ let(:proxy_prefix) { "#{uri.scheme}://" }
73
+ end
74
+ end
75
+ end
76
+ end
@@ -39,7 +39,7 @@ describe Chef::Knife::CookbookSiteShare do
39
39
  @cookbook_uploader.stub(:validate_cookbooks).and_return(true)
40
40
  Chef::CookbookSiteStreamingUploader.stub(:create_build_dir).and_return(Dir.mktmpdir)
41
41
 
42
- Chef::Mixin::Command.stub(:run_command).and_return(true)
42
+ @knife.stub(:shell_out!).and_return(true)
43
43
  @stdout = StringIO.new
44
44
  @knife.ui.stub(:stdout).and_return(@stdout)
45
45
  end
@@ -76,14 +76,14 @@ describe Chef::Knife::CookbookSiteShare do
76
76
  end
77
77
 
78
78
  it 'should make a tarball of the cookbook' do
79
- Chef::Mixin::Command.should_receive(:run_command) { |args|
80
- args[:command].should match /tar -czf/
81
- }
79
+ @knife.should_receive(:shell_out!) do |args|
80
+ args.to_s.should match /tar -czf/
81
+ end
82
82
  @knife.run
83
83
  end
84
84
 
85
85
  it 'should exit and log to error when the tarball creation fails' do
86
- Chef::Mixin::Command.stub(:run_command).and_raise(Chef::Exceptions::Exec)
86
+ @knife.stub(:shell_out!).and_raise(Chef::Exceptions::Exec)
87
87
  @knife.ui.should_receive(:error)
88
88
  lambda { @knife.run }.should raise_error(SystemExit)
89
89
  end
@@ -133,6 +133,126 @@ describe "LWRP" do
133
133
  cls.node[:penguin_name].should eql("jackass")
134
134
  end
135
135
 
136
+ context "resource_name" do
137
+ let(:klass) { Class.new(Chef::Resource::LWRPBase) }
138
+
139
+ it "returns nil when the resource_name is not set" do
140
+ expect(klass.resource_name).to be_nil
141
+ end
142
+
143
+ it "allows to user to user the resource_name" do
144
+ expect {
145
+ klass.resource_name(:foo)
146
+ }.to_not raise_error
147
+ end
148
+
149
+ it "returns the set value for the resource" do
150
+ klass.resource_name(:foo)
151
+ expect(klass.resource_name).to eq(:foo)
152
+ end
153
+
154
+ context "when creating a new instance" do
155
+ it "raises an exception if resource_name is nil" do
156
+ expect {
157
+ klass.new('blah')
158
+ }.to raise_error(Chef::Exceptions::InvalidResourceSpecification)
159
+ end
160
+ end
161
+
162
+ context "lazy default values" do
163
+ let(:klass) do
164
+ Class.new(Chef::Resource::LWRPBase) do
165
+ self.resource_name = :sample_resource
166
+ attribute :food, :default => lazy { 'BACON!'*3 }
167
+ attribute :drink, :default => lazy { |r| "Drink after #{r.food}!"}
168
+ end
169
+ end
170
+
171
+ let(:instance) { klass.new('kitchen') }
172
+
173
+ it "evaluates the default value when requested" do
174
+ expect(instance.food).to eq('BACON!BACON!BACON!')
175
+ end
176
+
177
+ it "evaluates yields self to the block" do
178
+ expect(instance.drink).to eq('Drink after BACON!BACON!BACON!!')
179
+ end
180
+ end
181
+ end
182
+
183
+ describe "when #default_action is an array" do
184
+ let(:lwrp) do
185
+ Class.new(Chef::Resource::LWRPBase) do
186
+ actions :eat, :sleep
187
+ default_action [:eat, :sleep]
188
+ end
189
+ end
190
+
191
+ it "returns the array of default actions" do
192
+ expect(lwrp.default_action).to eq([:eat, :sleep])
193
+ end
194
+ end
195
+
196
+ describe "when inheriting from LWRPBase" do
197
+ let(:parent) do
198
+ Class.new(Chef::Resource::LWRPBase) do
199
+ actions :eat, :sleep
200
+ default_action :eat
201
+ end
202
+ end
203
+
204
+ context "when the child does not defined the methods" do
205
+ let(:child) do
206
+ Class.new(parent)
207
+ end
208
+
209
+ it "delegates #actions to the parent" do
210
+ expect(child.actions).to eq([:eat, :sleep])
211
+ end
212
+
213
+ it "delegates #default_action to the parent" do
214
+ expect(child.default_action).to eq(:eat)
215
+ end
216
+ end
217
+
218
+ context "when the child does define the methods" do
219
+ let(:child) do
220
+ Class.new(parent) do
221
+ actions :dont_eat, :dont_sleep
222
+ default_action :dont_eat
223
+ end
224
+ end
225
+
226
+ it "does not delegate #actions to the parent" do
227
+ expect(child.actions).to eq([:dont_eat, :dont_sleep])
228
+ end
229
+
230
+ it "does not delegate #default_action to the parent" do
231
+ expect(child.default_action).to eq(:dont_eat)
232
+ end
233
+ end
234
+
235
+ context "when actions are already defined" do
236
+ let(:child) do
237
+ Class.new(parent) do
238
+ actions :eat
239
+ actions :sleep
240
+ actions :drink
241
+ end
242
+ end
243
+
244
+ def raise_if_deprecated!
245
+ if Chef::VERSION.split('.').first.to_i > 11
246
+ raise "This test should be removed and the associated code should be removed!"
247
+ end
248
+ end
249
+
250
+ it "ammends actions when they are already defined" do
251
+ raise_if_deprecated!
252
+ expect(child.actions).to eq([:eat, :sleep, :drink])
253
+ end
254
+ end
255
+ end
136
256
  end
137
257
 
138
258
  describe "Lightweight Chef::Provider" do
@@ -78,22 +78,4 @@ describe Chef::Provider::Log::ChefLog do
78
78
  @provider.action_write
79
79
  end
80
80
 
81
- it "should not update the resource if the message was not written to the log" do
82
- Chef::Log.level = :fatal
83
- @new_resource = Chef::Resource::Log.new(@log_str)
84
- @new_resource.level :info
85
- @provider = Chef::Provider::Log::ChefLog.new(@new_resource, @run_context)
86
- @provider.action_write
87
- @new_resource.updated.should be_false
88
- end
89
-
90
- it "should update the resource if the message has been written to the log" do
91
- Chef::Log.level = :debug
92
- @new_resource = Chef::Resource::Log.new(@log_str)
93
- @new_resource.level :info
94
- @provider = Chef::Provider::Log::ChefLog.new(@new_resource, @run_context)
95
- @provider.action_write
96
- @new_resource.updated.should be_true
97
- end
98
-
99
81
  end
metadata CHANGED
@@ -1,412 +1,364 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.14.0.rc.2
5
- prerelease: 8
4
+ version: 11.14.2
6
5
  platform: x86-mingw32
7
6
  authors:
8
7
  - Adam Jacob
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-07-07 00:00:00.000000000 Z
11
+ date: 2014-08-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: mixlib-config
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '2.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '2.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: mixlib-cli
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.4'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.4'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: mixlib-log
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.3'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '1.3'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: mixlib-authentication
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: '1.3'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: '1.3'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: mixlib-shellout
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - "~>"
84
74
  - !ruby/object:Gem::Version
85
75
  version: '1.4'
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - "~>"
92
81
  - !ruby/object:Gem::Version
93
82
  version: '1.4'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: ohai
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - '='
87
+ - - "~>"
100
88
  - !ruby/object:Gem::Version
101
- version: 7.2.0.rc.2
89
+ version: '7.2'
102
90
  type: :runtime
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - '='
94
+ - - "~>"
108
95
  - !ruby/object:Gem::Version
109
- version: 7.2.0.rc.2
96
+ version: '7.2'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: rest-client
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: 1.0.4
118
- - - <
104
+ - - "<="
119
105
  - !ruby/object:Gem::Version
120
- version: 1.7.0
106
+ version: 1.6.7
121
107
  type: :runtime
122
108
  prerelease: false
123
109
  version_requirements: !ruby/object:Gem::Requirement
124
- none: false
125
110
  requirements:
126
- - - ! '>='
111
+ - - ">="
127
112
  - !ruby/object:Gem::Version
128
113
  version: 1.0.4
129
- - - <
114
+ - - "<="
130
115
  - !ruby/object:Gem::Version
131
- version: 1.7.0
116
+ version: 1.6.7
132
117
  - !ruby/object:Gem::Dependency
133
118
  name: mime-types
134
119
  requirement: !ruby/object:Gem::Requirement
135
- none: false
136
120
  requirements:
137
- - - ~>
121
+ - - "~>"
138
122
  - !ruby/object:Gem::Version
139
123
  version: '1.16'
140
124
  type: :runtime
141
125
  prerelease: false
142
126
  version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
127
  requirements:
145
- - - ~>
128
+ - - "~>"
146
129
  - !ruby/object:Gem::Version
147
130
  version: '1.16'
148
131
  - !ruby/object:Gem::Dependency
149
132
  name: ffi-yajl
150
133
  requirement: !ruby/object:Gem::Requirement
151
- none: false
152
134
  requirements:
153
- - - ! '>='
135
+ - - "~>"
154
136
  - !ruby/object:Gem::Version
155
- version: '0'
137
+ version: '1.0'
156
138
  type: :runtime
157
139
  prerelease: false
158
140
  version_requirements: !ruby/object:Gem::Requirement
159
- none: false
160
141
  requirements:
161
- - - ! '>='
142
+ - - "~>"
162
143
  - !ruby/object:Gem::Version
163
- version: '0'
144
+ version: '1.0'
164
145
  - !ruby/object:Gem::Dependency
165
146
  name: net-ssh
166
147
  requirement: !ruby/object:Gem::Requirement
167
- none: false
168
148
  requirements:
169
- - - ~>
149
+ - - "~>"
170
150
  - !ruby/object:Gem::Version
171
151
  version: '2.6'
172
152
  type: :runtime
173
153
  prerelease: false
174
154
  version_requirements: !ruby/object:Gem::Requirement
175
- none: false
176
155
  requirements:
177
- - - ~>
156
+ - - "~>"
178
157
  - !ruby/object:Gem::Version
179
158
  version: '2.6'
180
159
  - !ruby/object:Gem::Dependency
181
160
  name: net-ssh-multi
182
161
  requirement: !ruby/object:Gem::Requirement
183
- none: false
184
162
  requirements:
185
- - - ~>
163
+ - - "~>"
186
164
  - !ruby/object:Gem::Version
187
165
  version: '1.1'
188
166
  type: :runtime
189
167
  prerelease: false
190
168
  version_requirements: !ruby/object:Gem::Requirement
191
- none: false
192
169
  requirements:
193
- - - ~>
170
+ - - "~>"
194
171
  - !ruby/object:Gem::Version
195
172
  version: '1.1'
196
173
  - !ruby/object:Gem::Dependency
197
174
  name: highline
198
175
  requirement: !ruby/object:Gem::Requirement
199
- none: false
200
176
  requirements:
201
- - - ~>
177
+ - - "~>"
202
178
  - !ruby/object:Gem::Version
203
179
  version: '1.6'
204
- - - ! '>='
180
+ - - ">="
205
181
  - !ruby/object:Gem::Version
206
182
  version: 1.6.9
207
183
  type: :runtime
208
184
  prerelease: false
209
185
  version_requirements: !ruby/object:Gem::Requirement
210
- none: false
211
186
  requirements:
212
- - - ~>
187
+ - - "~>"
213
188
  - !ruby/object:Gem::Version
214
189
  version: '1.6'
215
- - - ! '>='
190
+ - - ">="
216
191
  - !ruby/object:Gem::Version
217
192
  version: 1.6.9
218
193
  - !ruby/object:Gem::Dependency
219
194
  name: erubis
220
195
  requirement: !ruby/object:Gem::Requirement
221
- none: false
222
196
  requirements:
223
- - - ~>
197
+ - - "~>"
224
198
  - !ruby/object:Gem::Version
225
199
  version: '2.7'
226
200
  type: :runtime
227
201
  prerelease: false
228
202
  version_requirements: !ruby/object:Gem::Requirement
229
- none: false
230
203
  requirements:
231
- - - ~>
204
+ - - "~>"
232
205
  - !ruby/object:Gem::Version
233
206
  version: '2.7'
234
207
  - !ruby/object:Gem::Dependency
235
208
  name: diff-lcs
236
209
  requirement: !ruby/object:Gem::Requirement
237
- none: false
238
210
  requirements:
239
- - - ~>
211
+ - - "~>"
240
212
  - !ruby/object:Gem::Version
241
213
  version: '1.2'
242
- - - ! '>='
214
+ - - ">="
243
215
  - !ruby/object:Gem::Version
244
216
  version: 1.2.4
245
217
  type: :runtime
246
218
  prerelease: false
247
219
  version_requirements: !ruby/object:Gem::Requirement
248
- none: false
249
220
  requirements:
250
- - - ~>
221
+ - - "~>"
251
222
  - !ruby/object:Gem::Version
252
223
  version: '1.2'
253
- - - ! '>='
224
+ - - ">="
254
225
  - !ruby/object:Gem::Version
255
226
  version: 1.2.4
256
227
  - !ruby/object:Gem::Dependency
257
228
  name: chef-zero
258
229
  requirement: !ruby/object:Gem::Requirement
259
- none: false
260
230
  requirements:
261
- - - ~>
231
+ - - "~>"
262
232
  - !ruby/object:Gem::Version
263
233
  version: '2.1'
264
- - - ! '>='
234
+ - - ">="
265
235
  - !ruby/object:Gem::Version
266
236
  version: 2.1.4
267
237
  type: :runtime
268
238
  prerelease: false
269
239
  version_requirements: !ruby/object:Gem::Requirement
270
- none: false
271
240
  requirements:
272
- - - ~>
241
+ - - "~>"
273
242
  - !ruby/object:Gem::Version
274
243
  version: '2.1'
275
- - - ! '>='
244
+ - - ">="
276
245
  - !ruby/object:Gem::Version
277
246
  version: 2.1.4
278
247
  - !ruby/object:Gem::Dependency
279
248
  name: pry
280
249
  requirement: !ruby/object:Gem::Requirement
281
- none: false
282
250
  requirements:
283
- - - ~>
251
+ - - "~>"
284
252
  - !ruby/object:Gem::Version
285
253
  version: '0.9'
286
254
  type: :runtime
287
255
  prerelease: false
288
256
  version_requirements: !ruby/object:Gem::Requirement
289
- none: false
290
257
  requirements:
291
- - - ~>
258
+ - - "~>"
292
259
  - !ruby/object:Gem::Version
293
260
  version: '0.9'
294
261
  - !ruby/object:Gem::Dependency
295
262
  name: rack
296
263
  requirement: !ruby/object:Gem::Requirement
297
- none: false
298
264
  requirements:
299
- - - ! '>='
265
+ - - ">="
300
266
  - !ruby/object:Gem::Version
301
267
  version: '0'
302
268
  type: :development
303
269
  prerelease: false
304
270
  version_requirements: !ruby/object:Gem::Requirement
305
- none: false
306
271
  requirements:
307
- - - ! '>='
272
+ - - ">="
308
273
  - !ruby/object:Gem::Version
309
274
  version: '0'
310
275
  - !ruby/object:Gem::Dependency
311
276
  name: rake
312
277
  requirement: !ruby/object:Gem::Requirement
313
- none: false
314
278
  requirements:
315
- - - ~>
279
+ - - "~>"
316
280
  - !ruby/object:Gem::Version
317
281
  version: 10.1.0
318
282
  type: :development
319
283
  prerelease: false
320
284
  version_requirements: !ruby/object:Gem::Requirement
321
- none: false
322
285
  requirements:
323
- - - ~>
286
+ - - "~>"
324
287
  - !ruby/object:Gem::Version
325
288
  version: 10.1.0
326
289
  - !ruby/object:Gem::Dependency
327
290
  name: rspec_junit_formatter
328
291
  requirement: !ruby/object:Gem::Requirement
329
- none: false
330
292
  requirements:
331
- - - ~>
293
+ - - "~>"
332
294
  - !ruby/object:Gem::Version
333
295
  version: 0.1.0
334
296
  type: :development
335
297
  prerelease: false
336
298
  version_requirements: !ruby/object:Gem::Requirement
337
- none: false
338
299
  requirements:
339
- - - ~>
300
+ - - "~>"
340
301
  - !ruby/object:Gem::Version
341
302
  version: 0.1.0
342
303
  - !ruby/object:Gem::Dependency
343
304
  name: rspec-core
344
305
  requirement: !ruby/object:Gem::Requirement
345
- none: false
346
306
  requirements:
347
- - - ~>
307
+ - - "~>"
348
308
  - !ruby/object:Gem::Version
349
309
  version: 2.14.0
350
310
  type: :development
351
311
  prerelease: false
352
312
  version_requirements: !ruby/object:Gem::Requirement
353
- none: false
354
313
  requirements:
355
- - - ~>
314
+ - - "~>"
356
315
  - !ruby/object:Gem::Version
357
316
  version: 2.14.0
358
317
  - !ruby/object:Gem::Dependency
359
318
  name: rspec-expectations
360
319
  requirement: !ruby/object:Gem::Requirement
361
- none: false
362
320
  requirements:
363
- - - ~>
321
+ - - "~>"
364
322
  - !ruby/object:Gem::Version
365
323
  version: 2.14.0
366
324
  type: :development
367
325
  prerelease: false
368
326
  version_requirements: !ruby/object:Gem::Requirement
369
- none: false
370
327
  requirements:
371
- - - ~>
328
+ - - "~>"
372
329
  - !ruby/object:Gem::Version
373
330
  version: 2.14.0
374
331
  - !ruby/object:Gem::Dependency
375
332
  name: rspec-mocks
376
333
  requirement: !ruby/object:Gem::Requirement
377
- none: false
378
334
  requirements:
379
- - - ~>
335
+ - - "~>"
380
336
  - !ruby/object:Gem::Version
381
337
  version: 2.14.0
382
338
  type: :development
383
339
  prerelease: false
384
340
  version_requirements: !ruby/object:Gem::Requirement
385
- none: false
386
341
  requirements:
387
- - - ~>
342
+ - - "~>"
388
343
  - !ruby/object:Gem::Version
389
344
  version: 2.14.0
390
345
  - !ruby/object:Gem::Dependency
391
346
  name: ffi
392
347
  requirement: !ruby/object:Gem::Requirement
393
- none: false
394
348
  requirements:
395
- - - ~>
349
+ - - "~>"
396
350
  - !ruby/object:Gem::Version
397
351
  version: '1.9'
398
352
  type: :runtime
399
353
  prerelease: false
400
354
  version_requirements: !ruby/object:Gem::Requirement
401
- none: false
402
355
  requirements:
403
- - - ~>
356
+ - - "~>"
404
357
  - !ruby/object:Gem::Version
405
358
  version: '1.9'
406
359
  - !ruby/object:Gem::Dependency
407
360
  name: windows-api
408
361
  requirement: !ruby/object:Gem::Requirement
409
- none: false
410
362
  requirements:
411
363
  - - '='
412
364
  - !ruby/object:Gem::Version
@@ -414,7 +366,6 @@ dependencies:
414
366
  type: :runtime
415
367
  prerelease: false
416
368
  version_requirements: !ruby/object:Gem::Requirement
417
- none: false
418
369
  requirements:
419
370
  - - '='
420
371
  - !ruby/object:Gem::Version
@@ -422,7 +373,6 @@ dependencies:
422
373
  - !ruby/object:Gem::Dependency
423
374
  name: windows-pr
424
375
  requirement: !ruby/object:Gem::Requirement
425
- none: false
426
376
  requirements:
427
377
  - - '='
428
378
  - !ruby/object:Gem::Version
@@ -430,7 +380,6 @@ dependencies:
430
380
  type: :runtime
431
381
  prerelease: false
432
382
  version_requirements: !ruby/object:Gem::Requirement
433
- none: false
434
383
  requirements:
435
384
  - - '='
436
385
  - !ruby/object:Gem::Version
@@ -438,7 +387,6 @@ dependencies:
438
387
  - !ruby/object:Gem::Dependency
439
388
  name: win32-api
440
389
  requirement: !ruby/object:Gem::Requirement
441
- none: false
442
390
  requirements:
443
391
  - - '='
444
392
  - !ruby/object:Gem::Version
@@ -446,7 +394,6 @@ dependencies:
446
394
  type: :runtime
447
395
  prerelease: false
448
396
  version_requirements: !ruby/object:Gem::Requirement
449
- none: false
450
397
  requirements:
451
398
  - - '='
452
399
  - !ruby/object:Gem::Version
@@ -454,7 +401,6 @@ dependencies:
454
401
  - !ruby/object:Gem::Dependency
455
402
  name: win32-dir
456
403
  requirement: !ruby/object:Gem::Requirement
457
- none: false
458
404
  requirements:
459
405
  - - '='
460
406
  - !ruby/object:Gem::Version
@@ -462,7 +408,6 @@ dependencies:
462
408
  type: :runtime
463
409
  prerelease: false
464
410
  version_requirements: !ruby/object:Gem::Requirement
465
- none: false
466
411
  requirements:
467
412
  - - '='
468
413
  - !ruby/object:Gem::Version
@@ -470,7 +415,6 @@ dependencies:
470
415
  - !ruby/object:Gem::Dependency
471
416
  name: win32-event
472
417
  requirement: !ruby/object:Gem::Requirement
473
- none: false
474
418
  requirements:
475
419
  - - '='
476
420
  - !ruby/object:Gem::Version
@@ -478,7 +422,6 @@ dependencies:
478
422
  type: :runtime
479
423
  prerelease: false
480
424
  version_requirements: !ruby/object:Gem::Requirement
481
- none: false
482
425
  requirements:
483
426
  - - '='
484
427
  - !ruby/object:Gem::Version
@@ -486,7 +429,6 @@ dependencies:
486
429
  - !ruby/object:Gem::Dependency
487
430
  name: win32-mutex
488
431
  requirement: !ruby/object:Gem::Requirement
489
- none: false
490
432
  requirements:
491
433
  - - '='
492
434
  - !ruby/object:Gem::Version
@@ -494,7 +436,6 @@ dependencies:
494
436
  type: :runtime
495
437
  prerelease: false
496
438
  version_requirements: !ruby/object:Gem::Requirement
497
- none: false
498
439
  requirements:
499
440
  - - '='
500
441
  - !ruby/object:Gem::Version
@@ -502,7 +443,6 @@ dependencies:
502
443
  - !ruby/object:Gem::Dependency
503
444
  name: win32-process
504
445
  requirement: !ruby/object:Gem::Requirement
505
- none: false
506
446
  requirements:
507
447
  - - '='
508
448
  - !ruby/object:Gem::Version
@@ -510,7 +450,6 @@ dependencies:
510
450
  type: :runtime
511
451
  prerelease: false
512
452
  version_requirements: !ruby/object:Gem::Requirement
513
- none: false
514
453
  requirements:
515
454
  - - '='
516
455
  - !ruby/object:Gem::Version
@@ -518,7 +457,6 @@ dependencies:
518
457
  - !ruby/object:Gem::Dependency
519
458
  name: win32-service
520
459
  requirement: !ruby/object:Gem::Requirement
521
- none: false
522
460
  requirements:
523
461
  - - '='
524
462
  - !ruby/object:Gem::Version
@@ -526,7 +464,6 @@ dependencies:
526
464
  type: :runtime
527
465
  prerelease: false
528
466
  version_requirements: !ruby/object:Gem::Requirement
529
- none: false
530
467
  requirements:
531
468
  - - '='
532
469
  - !ruby/object:Gem::Version
@@ -534,7 +471,6 @@ dependencies:
534
471
  - !ruby/object:Gem::Dependency
535
472
  name: win32-mmap
536
473
  requirement: !ruby/object:Gem::Requirement
537
- none: false
538
474
  requirements:
539
475
  - - '='
540
476
  - !ruby/object:Gem::Version
@@ -542,7 +478,6 @@ dependencies:
542
478
  type: :runtime
543
479
  prerelease: false
544
480
  version_requirements: !ruby/object:Gem::Requirement
545
- none: false
546
481
  requirements:
547
482
  - - '='
548
483
  - !ruby/object:Gem::Version
@@ -550,17 +485,15 @@ dependencies:
550
485
  - !ruby/object:Gem::Dependency
551
486
  name: wmi-lite
552
487
  requirement: !ruby/object:Gem::Requirement
553
- none: false
554
488
  requirements:
555
- - - ~>
489
+ - - "~>"
556
490
  - !ruby/object:Gem::Version
557
491
  version: '1.0'
558
492
  type: :runtime
559
493
  prerelease: false
560
494
  version_requirements: !ruby/object:Gem::Requirement
561
- none: false
562
495
  requirements:
563
- - - ~>
496
+ - - "~>"
564
497
  - !ruby/object:Gem::Version
565
498
  version: '1.0'
566
499
  description: A systems integration framework, built to bring the benefits of configuration
@@ -580,10 +513,18 @@ extra_rdoc_files:
580
513
  - CONTRIBUTING.md
581
514
  - LICENSE
582
515
  files:
583
- - Rakefile
516
+ - CONTRIBUTING.md
584
517
  - LICENSE
585
518
  - README.md
586
- - CONTRIBUTING.md
519
+ - Rakefile
520
+ - bin/chef-apply
521
+ - bin/chef-client
522
+ - bin/chef-service-manager
523
+ - bin/chef-shell
524
+ - bin/chef-solo
525
+ - bin/knife
526
+ - bin/shef
527
+ - distro/README
587
528
  - distro/arch/etc/conf.d/chef-client.conf
588
529
  - distro/arch/etc/conf.d/chef-expander.conf
589
530
  - distro/arch/etc/conf.d/chef-server-webui.conf
@@ -694,6 +635,7 @@ files:
694
635
  - distro/common/html/objects.inv
695
636
  - distro/common/html/search.html
696
637
  - distro/common/html/searchindex.js
638
+ - distro/common/man/man1/README.md
697
639
  - distro/common/man/man1/chef-shell.1
698
640
  - distro/common/man/man1/knife-bootstrap.1
699
641
  - distro/common/man/man1/knife-client.1
@@ -726,9 +668,9 @@ files:
726
668
  - distro/common/man/man1/knife-user.1
727
669
  - distro/common/man/man1/knife-xargs.1
728
670
  - distro/common/man/man1/knife.1
729
- - distro/common/man/man1/README.md
730
671
  - distro/common/man/man8/chef-client.8
731
672
  - distro/common/man/man8/chef-solo.8
673
+ - distro/common/markdown/README
732
674
  - distro/common/markdown/man1/chef-shell.mkd
733
675
  - distro/common/markdown/man1/knife-bootstrap.mkd
734
676
  - distro/common/markdown/man1/knife-client.mkd
@@ -753,23 +695,21 @@ files:
753
695
  - distro/common/markdown/man8/chef-server.mkd
754
696
  - distro/common/markdown/man8/chef-solo.mkd
755
697
  - distro/common/markdown/man8/chef-solr.mkd
756
- - distro/common/markdown/README
757
698
  - distro/debian/etc/default/chef-client
758
699
  - distro/debian/etc/default/chef-expander
759
700
  - distro/debian/etc/default/chef-server
760
701
  - distro/debian/etc/default/chef-server-webui
761
702
  - distro/debian/etc/default/chef-solr
762
- - distro/debian/etc/init/chef-client.conf
763
- - distro/debian/etc/init/chef-expander.conf
764
- - distro/debian/etc/init/chef-server-webui.conf
765
- - distro/debian/etc/init/chef-server.conf
766
- - distro/debian/etc/init/chef-solr.conf
767
703
  - distro/debian/etc/init.d/chef-client
768
704
  - distro/debian/etc/init.d/chef-expander
769
705
  - distro/debian/etc/init.d/chef-server
770
706
  - distro/debian/etc/init.d/chef-server-webui
771
707
  - distro/debian/etc/init.d/chef-solr
772
- - distro/README
708
+ - distro/debian/etc/init/chef-client.conf
709
+ - distro/debian/etc/init/chef-expander.conf
710
+ - distro/debian/etc/init/chef-server-webui.conf
711
+ - distro/debian/etc/init/chef-server.conf
712
+ - distro/debian/etc/init/chef-solr.conf
773
713
  - distro/redhat/etc/init.d/chef-client
774
714
  - distro/redhat/etc/init.d/chef-expander
775
715
  - distro/redhat/etc/init.d/chef-server
@@ -786,8 +726,10 @@ files:
786
726
  - distro/redhat/etc/sysconfig/chef-server-webui
787
727
  - distro/redhat/etc/sysconfig/chef-solr
788
728
  - distro/windows/service_manager.rb
789
- - lib/chef/api_client/registration.rb
729
+ - lib/chef.rb
790
730
  - lib/chef/api_client.rb
731
+ - lib/chef/api_client/registration.rb
732
+ - lib/chef/application.rb
791
733
  - lib/chef/application/agent.rb
792
734
  - lib/chef/application/apply.rb
793
735
  - lib/chef/application/client.rb
@@ -795,8 +737,8 @@ files:
795
737
  - lib/chef/application/solo.rb
796
738
  - lib/chef/application/windows_service.rb
797
739
  - lib/chef/application/windows_service_manager.rb
798
- - lib/chef/application.rb
799
740
  - lib/chef/applications.rb
741
+ - lib/chef/chef_fs.rb
800
742
  - lib/chef/chef_fs/chef_fs_data_store.rb
801
743
  - lib/chef/chef_fs/command_line.rb
802
744
  - lib/chef/chef_fs/config.rb
@@ -812,6 +754,7 @@ files:
812
754
  - lib/chef/chef_fs/data_handler/role_data_handler.rb
813
755
  - lib/chef/chef_fs/data_handler/user_data_handler.rb
814
756
  - lib/chef/chef_fs/file_pattern.rb
757
+ - lib/chef/chef_fs/file_system.rb
815
758
  - lib/chef/chef_fs/file_system/acl_dir.rb
816
759
  - lib/chef/chef_fs/file_system/acl_entry.rb
817
760
  - lib/chef/chef_fs/file_system/acls_dir.rb
@@ -851,13 +794,11 @@ files:
851
794
  - lib/chef/chef_fs/file_system/operation_not_allowed_error.rb
852
795
  - lib/chef/chef_fs/file_system/rest_list_dir.rb
853
796
  - lib/chef/chef_fs/file_system/rest_list_entry.rb
854
- - lib/chef/chef_fs/file_system.rb
855
797
  - lib/chef/chef_fs/knife.rb
798
+ - lib/chef/chef_fs/parallelizer.rb
856
799
  - lib/chef/chef_fs/parallelizer/flatten_enumerable.rb
857
800
  - lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
858
- - lib/chef/chef_fs/parallelizer.rb
859
801
  - lib/chef/chef_fs/path_utils.rb
860
- - lib/chef/chef_fs.rb
861
802
  - lib/chef/client.rb
862
803
  - lib/chef/config.rb
863
804
  - lib/chef/config_fetcher.rb
@@ -884,6 +825,7 @@ files:
884
825
  - lib/chef/deprecation/provider/template.rb
885
826
  - lib/chef/deprecation/warnings.rb
886
827
  - lib/chef/digester.rb
828
+ - lib/chef/dsl.rb
887
829
  - lib/chef/dsl/data_query.rb
888
830
  - lib/chef/dsl/include_attribute.rb
889
831
  - lib/chef/dsl/include_recipe.rb
@@ -891,32 +833,32 @@ files:
891
833
  - lib/chef/dsl/reboot_pending.rb
892
834
  - lib/chef/dsl/recipe.rb
893
835
  - lib/chef/dsl/registry_helper.rb
894
- - lib/chef/dsl.rb
836
+ - lib/chef/encrypted_data_bag_item.rb
895
837
  - lib/chef/encrypted_data_bag_item/decryption_failure.rb
896
838
  - lib/chef/encrypted_data_bag_item/decryptor.rb
897
839
  - lib/chef/encrypted_data_bag_item/encryptor.rb
898
840
  - lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
899
841
  - lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
900
842
  - lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
901
- - lib/chef/encrypted_data_bag_item.rb
902
843
  - lib/chef/environment.rb
903
844
  - lib/chef/event_dispatch/base.rb
904
845
  - lib/chef/event_dispatch/dispatcher.rb
905
846
  - lib/chef/event_dispatch/events_output_stream.rb
906
847
  - lib/chef/exceptions.rb
848
+ - lib/chef/file_access_control.rb
907
849
  - lib/chef/file_access_control/unix.rb
908
850
  - lib/chef/file_access_control/windows.rb
909
- - lib/chef/file_access_control.rb
910
851
  - lib/chef/file_cache.rb
911
852
  - lib/chef/file_content_management/content_base.rb
853
+ - lib/chef/file_content_management/deploy.rb
912
854
  - lib/chef/file_content_management/deploy/cp.rb
913
855
  - lib/chef/file_content_management/deploy/mv_unix.rb
914
856
  - lib/chef/file_content_management/deploy/mv_windows.rb
915
- - lib/chef/file_content_management/deploy.rb
916
857
  - lib/chef/file_content_management/tempfile.rb
917
858
  - lib/chef/formatters/base.rb
918
859
  - lib/chef/formatters/doc.rb
919
860
  - lib/chef/formatters/error_descriptor.rb
861
+ - lib/chef/formatters/error_inspectors.rb
920
862
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
921
863
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
922
864
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -925,15 +867,15 @@ files:
925
867
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
926
868
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
927
869
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
928
- - lib/chef/formatters/error_inspectors.rb
929
870
  - lib/chef/formatters/error_mapper.rb
930
871
  - lib/chef/formatters/indentable_output_stream.rb
931
872
  - lib/chef/formatters/minimal.rb
932
873
  - lib/chef/guard_interpreter/default_guard_interpreter.rb
933
874
  - lib/chef/guard_interpreter/resource_guard_interpreter.rb
875
+ - lib/chef/handler.rb
934
876
  - lib/chef/handler/error_report.rb
935
877
  - lib/chef/handler/json_file.rb
936
- - lib/chef/handler.rb
878
+ - lib/chef/http.rb
937
879
  - lib/chef/http/auth_credentials.rb
938
880
  - lib/chef/http/authenticator.rb
939
881
  - lib/chef/http/basic_client.rb
@@ -948,18 +890,18 @@ files:
948
890
  - lib/chef/http/simple.rb
949
891
  - lib/chef/http/ssl_policies.rb
950
892
  - lib/chef/http/validate_content_length.rb
951
- - lib/chef/http.rb
952
893
  - lib/chef/json_compat.rb
894
+ - lib/chef/knife.rb
895
+ - lib/chef/knife/bootstrap.rb
896
+ - lib/chef/knife/bootstrap/README.md
953
897
  - lib/chef/knife/bootstrap/archlinux-gems.erb
954
898
  - lib/chef/knife/bootstrap/centos5-gems.erb
955
899
  - lib/chef/knife/bootstrap/chef-aix.erb
956
900
  - lib/chef/knife/bootstrap/chef-full.erb
957
901
  - lib/chef/knife/bootstrap/fedora13-gems.erb
958
- - lib/chef/knife/bootstrap/README.md
959
902
  - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
960
903
  - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
961
904
  - lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
962
- - lib/chef/knife/bootstrap.rb
963
905
  - lib/chef/knife/client_bulk_delete.rb
964
906
  - lib/chef/knife/client_create.rb
965
907
  - lib/chef/knife/client_delete.rb
@@ -1057,13 +999,12 @@ files:
1057
999
  - lib/chef/knife/user_reregister.rb
1058
1000
  - lib/chef/knife/user_show.rb
1059
1001
  - lib/chef/knife/xargs.rb
1060
- - lib/chef/knife.rb
1061
1002
  - lib/chef/log.rb
1062
1003
  - lib/chef/mash.rb
1063
1004
  - lib/chef/mixin/checksum.rb
1005
+ - lib/chef/mixin/command.rb
1064
1006
  - lib/chef/mixin/command/unix.rb
1065
1007
  - lib/chef/mixin/command/windows.rb
1066
- - lib/chef/mixin/command.rb
1067
1008
  - lib/chef/mixin/convert_to_class_name.rb
1068
1009
  - lib/chef/mixin/create_path.rb
1069
1010
  - lib/chef/mixin/deep_merge.rb
@@ -1099,35 +1040,37 @@ files:
1099
1040
  - lib/chef/monkey_patches/uri.rb
1100
1041
  - lib/chef/monologger.rb
1101
1042
  - lib/chef/nil_argument.rb
1043
+ - lib/chef/node.rb
1102
1044
  - lib/chef/node/attribute.rb
1103
1045
  - lib/chef/node/attribute_collections.rb
1104
1046
  - lib/chef/node/immutable_collections.rb
1105
- - lib/chef/node.rb
1047
+ - lib/chef/platform.rb
1106
1048
  - lib/chef/platform/provider_mapping.rb
1107
1049
  - lib/chef/platform/query_helpers.rb
1108
- - lib/chef/platform.rb
1050
+ - lib/chef/policy_builder.rb
1109
1051
  - lib/chef/policy_builder/expand_node_object.rb
1110
1052
  - lib/chef/policy_builder/policyfile.rb
1111
- - lib/chef/policy_builder.rb
1053
+ - lib/chef/provider.rb
1112
1054
  - lib/chef/provider/batch.rb
1113
1055
  - lib/chef/provider/breakpoint.rb
1114
- - lib/chef/provider/cookbook_file/content.rb
1115
1056
  - lib/chef/provider/cookbook_file.rb
1057
+ - lib/chef/provider/cookbook_file/content.rb
1058
+ - lib/chef/provider/cron.rb
1116
1059
  - lib/chef/provider/cron/aix.rb
1117
1060
  - lib/chef/provider/cron/solaris.rb
1118
1061
  - lib/chef/provider/cron/unix.rb
1119
- - lib/chef/provider/cron.rb
1062
+ - lib/chef/provider/deploy.rb
1120
1063
  - lib/chef/provider/deploy/revision.rb
1121
1064
  - lib/chef/provider/deploy/timestamped.rb
1122
- - lib/chef/provider/deploy.rb
1123
1065
  - lib/chef/provider/directory.rb
1124
- - lib/chef/provider/env/windows.rb
1125
1066
  - lib/chef/provider/env.rb
1067
+ - lib/chef/provider/env/windows.rb
1126
1068
  - lib/chef/provider/erl_call.rb
1127
1069
  - lib/chef/provider/execute.rb
1128
- - lib/chef/provider/file/content.rb
1129
1070
  - lib/chef/provider/file.rb
1071
+ - lib/chef/provider/file/content.rb
1130
1072
  - lib/chef/provider/git.rb
1073
+ - lib/chef/provider/group.rb
1131
1074
  - lib/chef/provider/group/aix.rb
1132
1075
  - lib/chef/provider/group/dscl.rb
1133
1076
  - lib/chef/provider/group/gpasswd.rb
@@ -1137,22 +1080,22 @@ files:
1137
1080
  - lib/chef/provider/group/suse.rb
1138
1081
  - lib/chef/provider/group/usermod.rb
1139
1082
  - lib/chef/provider/group/windows.rb
1140
- - lib/chef/provider/group.rb
1141
1083
  - lib/chef/provider/http_request.rb
1084
+ - lib/chef/provider/ifconfig.rb
1142
1085
  - lib/chef/provider/ifconfig/aix.rb
1143
1086
  - lib/chef/provider/ifconfig/debian.rb
1144
1087
  - lib/chef/provider/ifconfig/redhat.rb
1145
- - lib/chef/provider/ifconfig.rb
1146
1088
  - lib/chef/provider/link.rb
1147
1089
  - lib/chef/provider/log.rb
1148
1090
  - lib/chef/provider/lwrp_base.rb
1149
1091
  - lib/chef/provider/mdadm.rb
1092
+ - lib/chef/provider/mount.rb
1150
1093
  - lib/chef/provider/mount/aix.rb
1151
1094
  - lib/chef/provider/mount/mount.rb
1152
1095
  - lib/chef/provider/mount/solaris.rb
1153
1096
  - lib/chef/provider/mount/windows.rb
1154
- - lib/chef/provider/mount.rb
1155
1097
  - lib/chef/provider/ohai.rb
1098
+ - lib/chef/provider/package.rb
1156
1099
  - lib/chef/provider/package/aix.rb
1157
1100
  - lib/chef/provider/package/apt.rb
1158
1101
  - lib/chef/provider/package/dpkg.rb
@@ -1170,26 +1113,26 @@ files:
1170
1113
  - lib/chef/provider/package/rubygems.rb
1171
1114
  - lib/chef/provider/package/smartos.rb
1172
1115
  - lib/chef/provider/package/solaris.rb
1173
- - lib/chef/provider/package/windows/msi.rb
1174
1116
  - lib/chef/provider/package/windows.rb
1117
+ - lib/chef/provider/package/windows/msi.rb
1175
1118
  - lib/chef/provider/package/yum-dump.py
1176
1119
  - lib/chef/provider/package/yum.rb
1177
1120
  - lib/chef/provider/package/zypper.rb
1178
- - lib/chef/provider/package.rb
1179
1121
  - lib/chef/provider/powershell_script.rb
1180
1122
  - lib/chef/provider/registry_key.rb
1181
1123
  - lib/chef/provider/remote_directory.rb
1124
+ - lib/chef/provider/remote_file.rb
1182
1125
  - lib/chef/provider/remote_file/cache_control_data.rb
1183
1126
  - lib/chef/provider/remote_file/content.rb
1184
1127
  - lib/chef/provider/remote_file/fetcher.rb
1185
1128
  - lib/chef/provider/remote_file/ftp.rb
1186
1129
  - lib/chef/provider/remote_file/http.rb
1187
1130
  - lib/chef/provider/remote_file/local_file.rb
1188
- - lib/chef/provider/remote_file.rb
1189
1131
  - lib/chef/provider/resource_update.rb
1190
1132
  - lib/chef/provider/route.rb
1191
1133
  - lib/chef/provider/ruby_block.rb
1192
1134
  - lib/chef/provider/script.rb
1135
+ - lib/chef/provider/service.rb
1193
1136
  - lib/chef/provider/service/arch.rb
1194
1137
  - lib/chef/provider/service/debian.rb
1195
1138
  - lib/chef/provider/service/freebsd.rb
@@ -1204,24 +1147,23 @@ files:
1204
1147
  - lib/chef/provider/service/systemd.rb
1205
1148
  - lib/chef/provider/service/upstart.rb
1206
1149
  - lib/chef/provider/service/windows.rb
1207
- - lib/chef/provider/service.rb
1208
1150
  - lib/chef/provider/subversion.rb
1209
- - lib/chef/provider/template/content.rb
1210
1151
  - lib/chef/provider/template.rb
1152
+ - lib/chef/provider/template/content.rb
1211
1153
  - lib/chef/provider/template_finder.rb
1154
+ - lib/chef/provider/user.rb
1212
1155
  - lib/chef/provider/user/dscl.rb
1213
1156
  - lib/chef/provider/user/pw.rb
1214
1157
  - lib/chef/provider/user/solaris.rb
1215
1158
  - lib/chef/provider/user/useradd.rb
1216
1159
  - lib/chef/provider/user/windows.rb
1217
- - lib/chef/provider/user.rb
1218
1160
  - lib/chef/provider/whyrun_safe_ruby_block.rb
1219
1161
  - lib/chef/provider/windows_script.rb
1220
- - lib/chef/provider.rb
1221
1162
  - lib/chef/providers.rb
1222
1163
  - lib/chef/recipe.rb
1223
1164
  - lib/chef/request_id.rb
1224
1165
  - lib/chef/reserved_names.rb
1166
+ - lib/chef/resource.rb
1225
1167
  - lib/chef/resource/apt_package.rb
1226
1168
  - lib/chef/resource/bash.rb
1227
1169
  - lib/chef/resource/batch.rb
@@ -1283,9 +1225,8 @@ files:
1283
1225
  - lib/chef/resource/windows_package.rb
1284
1226
  - lib/chef/resource/windows_script.rb
1285
1227
  - lib/chef/resource/yum_package.rb
1286
- - lib/chef/resource.rb
1287
- - lib/chef/resource_collection/stepable_iterator.rb
1288
1228
  - lib/chef/resource_collection.rb
1229
+ - lib/chef/resource_collection/stepable_iterator.rb
1289
1230
  - lib/chef/resource_definition.rb
1290
1231
  - lib/chef/resource_definition_list.rb
1291
1232
  - lib/chef/resource_platform_map.rb
@@ -1293,12 +1234,12 @@ files:
1293
1234
  - lib/chef/resources.rb
1294
1235
  - lib/chef/rest.rb
1295
1236
  - lib/chef/role.rb
1296
- - lib/chef/run_context/cookbook_compiler.rb
1297
1237
  - lib/chef/run_context.rb
1238
+ - lib/chef/run_context/cookbook_compiler.rb
1239
+ - lib/chef/run_list.rb
1298
1240
  - lib/chef/run_list/run_list_expansion.rb
1299
1241
  - lib/chef/run_list/run_list_item.rb
1300
1242
  - lib/chef/run_list/versioned_recipe_list.rb
1301
- - lib/chef/run_list.rb
1302
1243
  - lib/chef/run_lock.rb
1303
1244
  - lib/chef/run_status.rb
1304
1245
  - lib/chef/runner.rb
@@ -1307,11 +1248,11 @@ files:
1307
1248
  - lib/chef/search/query.rb
1308
1249
  - lib/chef/server_api.rb
1309
1250
  - lib/chef/shef/ext.rb
1251
+ - lib/chef/shell.rb
1310
1252
  - lib/chef/shell/ext.rb
1311
1253
  - lib/chef/shell/model_wrapper.rb
1312
1254
  - lib/chef/shell/shell_rest.rb
1313
1255
  - lib/chef/shell/shell_session.rb
1314
- - lib/chef/shell.rb
1315
1256
  - lib/chef/shell_out.rb
1316
1257
  - lib/chef/streaming_cookbook_uploader.rb
1317
1258
  - lib/chef/tasks/chef_repo.rake
@@ -1323,47 +1264,46 @@ files:
1323
1264
  - lib/chef/util/path_helper.rb
1324
1265
  - lib/chef/util/selinux.rb
1325
1266
  - lib/chef/util/threaded_job_queue.rb
1267
+ - lib/chef/util/windows.rb
1326
1268
  - lib/chef/util/windows/net_group.rb
1327
1269
  - lib/chef/util/windows/net_use.rb
1328
1270
  - lib/chef/util/windows/net_user.rb
1329
1271
  - lib/chef/util/windows/volume.rb
1330
- - lib/chef/util/windows.rb
1331
- - lib/chef/version/platform.rb
1332
1272
  - lib/chef/version.rb
1273
+ - lib/chef/version/platform.rb
1333
1274
  - lib/chef/version_class.rb
1334
- - lib/chef/version_constraint/platform.rb
1335
1275
  - lib/chef/version_constraint.rb
1276
+ - lib/chef/version_constraint/platform.rb
1336
1277
  - lib/chef/whitelist.rb
1278
+ - lib/chef/win32/api.rb
1337
1279
  - lib/chef/win32/api/error.rb
1338
1280
  - lib/chef/win32/api/file.rb
1339
1281
  - lib/chef/win32/api/installer.rb
1340
1282
  - lib/chef/win32/api/memory.rb
1283
+ - lib/chef/win32/api/net.rb
1341
1284
  - lib/chef/win32/api/process.rb
1342
1285
  - lib/chef/win32/api/psapi.rb
1343
1286
  - lib/chef/win32/api/security.rb
1344
1287
  - lib/chef/win32/api/synchronization.rb
1345
1288
  - lib/chef/win32/api/system.rb
1346
1289
  - lib/chef/win32/api/unicode.rb
1347
- - lib/chef/win32/api.rb
1348
1290
  - lib/chef/win32/error.rb
1349
- - lib/chef/win32/file/info.rb
1350
1291
  - lib/chef/win32/file.rb
1292
+ - lib/chef/win32/file/info.rb
1351
1293
  - lib/chef/win32/handle.rb
1352
1294
  - lib/chef/win32/memory.rb
1353
1295
  - lib/chef/win32/mutex.rb
1354
1296
  - lib/chef/win32/process.rb
1355
1297
  - lib/chef/win32/registry.rb
1298
+ - lib/chef/win32/security.rb
1356
1299
  - lib/chef/win32/security/ace.rb
1357
1300
  - lib/chef/win32/security/acl.rb
1358
1301
  - lib/chef/win32/security/securable_object.rb
1359
1302
  - lib/chef/win32/security/security_descriptor.rb
1360
1303
  - lib/chef/win32/security/sid.rb
1361
1304
  - lib/chef/win32/security/token.rb
1362
- - lib/chef/win32/security.rb
1363
1305
  - lib/chef/win32/unicode.rb
1364
1306
  - lib/chef/win32/version.rb
1365
- - lib/chef.rb
1366
- - tasks/rspec.rb
1367
1307
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1368
1308
  - spec/data/apt/chef-integration-test-1.0/debian/compat
1369
1309
  - spec/data/apt/chef-integration-test-1.0/debian/control
@@ -1393,11 +1333,11 @@ files:
1393
1333
  - spec/data/apt/var/www/apt/db/references.db
1394
1334
  - spec/data/apt/var/www/apt/db/release.caches.db
1395
1335
  - spec/data/apt/var/www/apt/db/version
1336
+ - spec/data/apt/var/www/apt/dists/sid/Release
1396
1337
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
1397
1338
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
1398
1339
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
1399
1340
  - spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
1400
- - spec/data/apt/var/www/apt/dists/sid/Release
1401
1341
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
1402
1342
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
1403
1343
  - spec/data/bad-config.rb
@@ -1408,12 +1348,12 @@ files:
1408
1348
  - spec/data/bootstrap/secret.erb
1409
1349
  - spec/data/bootstrap/test-hints.erb
1410
1350
  - spec/data/bootstrap/test.erb
1351
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1411
1352
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1412
1353
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1413
1354
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1414
1355
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1415
1356
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1416
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1417
1357
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1418
1358
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1419
1359
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1566,16 +1506,6 @@ files:
1566
1506
  - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1567
1507
  - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1568
1508
  - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1569
- - spec/data/run_context/cookbooks/test/attributes/default.rb
1570
- - spec/data/run_context/cookbooks/test/attributes/george.rb
1571
- - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1572
- - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1573
- - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1574
- - spec/data/run_context/cookbooks/test/providers/provider.rb
1575
- - spec/data/run_context/cookbooks/test/recipes/default.rb
1576
- - spec/data/run_context/cookbooks/test/recipes/one.rb
1577
- - spec/data/run_context/cookbooks/test/recipes/two.rb
1578
- - spec/data/run_context/cookbooks/test/resources/resource.rb
1579
1509
  - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1580
1510
  - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1581
1511
  - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
@@ -1591,6 +1521,16 @@ files:
1591
1521
  - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1592
1522
  - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1593
1523
  - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1524
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1525
+ - spec/data/run_context/cookbooks/test/attributes/george.rb
1526
+ - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1527
+ - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1528
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1529
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1530
+ - spec/data/run_context/cookbooks/test/recipes/default.rb
1531
+ - spec/data/run_context/cookbooks/test/recipes/one.rb
1532
+ - spec/data/run_context/cookbooks/test/recipes/two.rb
1533
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1594
1534
  - spec/data/run_context/nodes/run_context.rb
1595
1535
  - spec/data/search_queries_to_transform.txt
1596
1536
  - spec/data/shef-config.rb
@@ -1600,8 +1540,8 @@ files:
1600
1540
  - spec/data/ssl/key.pem
1601
1541
  - spec/data/ssl/private_key.pem
1602
1542
  - spec/data/ssl/private_key_with_whitespace.pem
1603
- - spec/data/standalone_cookbook/chefignore
1604
1543
  - spec/data/standalone_cookbook/Gemfile
1544
+ - spec/data/standalone_cookbook/chefignore
1605
1545
  - spec/data/standalone_cookbook/recipes/default.rb
1606
1546
  - spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb
1607
1547
  - spec/data/templates/seattle.txt
@@ -1610,12 +1550,12 @@ files:
1610
1550
  - spec/data/trusted_certs/opscode.pem
1611
1551
  - spec/data/trusted_certs/root.pem
1612
1552
  - spec/functional/application_spec.rb
1553
+ - spec/functional/assets/PkgA.1.0.0.0.bff
1554
+ - spec/functional/assets/PkgA.2.0.0.0.bff
1613
1555
  - spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
1614
1556
  - spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
1615
1557
  - spec/functional/assets/mytest-1.0-1.noarch.rpm
1616
1558
  - spec/functional/assets/mytest-2.0-1.noarch.rpm
1617
- - spec/functional/assets/PkgA.1.0.0.0.bff
1618
- - spec/functional/assets/PkgA.2.0.0.0.bff
1619
1559
  - spec/functional/dsl/reboot_pending_spec.rb
1620
1560
  - spec/functional/dsl/registry_helper_spec.rb
1621
1561
  - spec/functional/file_content_management/deploy_strategies_spec.rb
@@ -1767,6 +1707,7 @@ files:
1767
1707
  - spec/unit/file_content_management/deploy/cp_spec.rb
1768
1708
  - spec/unit/file_content_management/deploy/mv_unix_spec.rb
1769
1709
  - spec/unit/file_content_management/deploy/mv_windows_spec.rb
1710
+ - spec/unit/formatters/base_spec.rb
1770
1711
  - spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb
1771
1712
  - spec/unit/formatters/error_inspectors/cookbook_resolve_error_inspector_spec.rb
1772
1713
  - spec/unit/formatters/error_inspectors/cookbook_sync_error_inspector_spec.rb
@@ -2079,39 +2020,29 @@ files:
2079
2020
  - spec/unit/version_constraint/platform_spec.rb
2080
2021
  - spec/unit/version_constraint_spec.rb
2081
2022
  - spec/unit/windows_service_spec.rb
2082
- - bin/chef-client
2083
- - bin/chef-solo
2084
- - bin/knife
2085
- - bin/chef-shell
2086
- - bin/shef
2087
- - bin/chef-apply
2088
- - bin/chef-service-manager
2023
+ - tasks/rspec.rb
2089
2024
  homepage: http://wiki.opscode.com/display/chef
2090
2025
  licenses: []
2026
+ metadata: {}
2091
2027
  post_install_message:
2092
2028
  rdoc_options: []
2093
2029
  require_paths:
2094
2030
  - lib
2095
2031
  required_ruby_version: !ruby/object:Gem::Requirement
2096
- none: false
2097
2032
  requirements:
2098
- - - ! '>='
2033
+ - - ">="
2099
2034
  - !ruby/object:Gem::Version
2100
2035
  version: '0'
2101
- segments:
2102
- - 0
2103
- hash: 1503652227548245970
2104
2036
  required_rubygems_version: !ruby/object:Gem::Requirement
2105
- none: false
2106
2037
  requirements:
2107
- - - ! '>'
2038
+ - - ">="
2108
2039
  - !ruby/object:Gem::Version
2109
- version: 1.3.1
2040
+ version: '0'
2110
2041
  requirements: []
2111
2042
  rubyforge_project:
2112
- rubygems_version: 1.8.24
2043
+ rubygems_version: 2.2.2
2113
2044
  signing_key:
2114
- specification_version: 3
2045
+ specification_version: 4
2115
2046
  summary: A systems integration framework, built to bring the benefits of configuration
2116
2047
  management to your entire infrastructure.
2117
2048
  test_files: []