chef 11.14.0.rc.2 → 11.14.2

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,390 +1,345 @@
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: ruby
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
  description: A systems integration framework, built to bring the benefits of configuration
@@ -404,10 +359,18 @@ extra_rdoc_files:
404
359
  - CONTRIBUTING.md
405
360
  - LICENSE
406
361
  files:
407
- - Rakefile
362
+ - CONTRIBUTING.md
408
363
  - LICENSE
409
364
  - README.md
410
- - CONTRIBUTING.md
365
+ - Rakefile
366
+ - bin/chef-apply
367
+ - bin/chef-client
368
+ - bin/chef-service-manager
369
+ - bin/chef-shell
370
+ - bin/chef-solo
371
+ - bin/knife
372
+ - bin/shef
373
+ - distro/README
411
374
  - distro/arch/etc/conf.d/chef-client.conf
412
375
  - distro/arch/etc/conf.d/chef-expander.conf
413
376
  - distro/arch/etc/conf.d/chef-server-webui.conf
@@ -518,6 +481,7 @@ files:
518
481
  - distro/common/html/objects.inv
519
482
  - distro/common/html/search.html
520
483
  - distro/common/html/searchindex.js
484
+ - distro/common/man/man1/README.md
521
485
  - distro/common/man/man1/chef-shell.1
522
486
  - distro/common/man/man1/knife-bootstrap.1
523
487
  - distro/common/man/man1/knife-client.1
@@ -550,9 +514,9 @@ files:
550
514
  - distro/common/man/man1/knife-user.1
551
515
  - distro/common/man/man1/knife-xargs.1
552
516
  - distro/common/man/man1/knife.1
553
- - distro/common/man/man1/README.md
554
517
  - distro/common/man/man8/chef-client.8
555
518
  - distro/common/man/man8/chef-solo.8
519
+ - distro/common/markdown/README
556
520
  - distro/common/markdown/man1/chef-shell.mkd
557
521
  - distro/common/markdown/man1/knife-bootstrap.mkd
558
522
  - distro/common/markdown/man1/knife-client.mkd
@@ -577,23 +541,21 @@ files:
577
541
  - distro/common/markdown/man8/chef-server.mkd
578
542
  - distro/common/markdown/man8/chef-solo.mkd
579
543
  - distro/common/markdown/man8/chef-solr.mkd
580
- - distro/common/markdown/README
581
544
  - distro/debian/etc/default/chef-client
582
545
  - distro/debian/etc/default/chef-expander
583
546
  - distro/debian/etc/default/chef-server
584
547
  - distro/debian/etc/default/chef-server-webui
585
548
  - distro/debian/etc/default/chef-solr
586
- - distro/debian/etc/init/chef-client.conf
587
- - distro/debian/etc/init/chef-expander.conf
588
- - distro/debian/etc/init/chef-server-webui.conf
589
- - distro/debian/etc/init/chef-server.conf
590
- - distro/debian/etc/init/chef-solr.conf
591
549
  - distro/debian/etc/init.d/chef-client
592
550
  - distro/debian/etc/init.d/chef-expander
593
551
  - distro/debian/etc/init.d/chef-server
594
552
  - distro/debian/etc/init.d/chef-server-webui
595
553
  - distro/debian/etc/init.d/chef-solr
596
- - distro/README
554
+ - distro/debian/etc/init/chef-client.conf
555
+ - distro/debian/etc/init/chef-expander.conf
556
+ - distro/debian/etc/init/chef-server-webui.conf
557
+ - distro/debian/etc/init/chef-server.conf
558
+ - distro/debian/etc/init/chef-solr.conf
597
559
  - distro/redhat/etc/init.d/chef-client
598
560
  - distro/redhat/etc/init.d/chef-expander
599
561
  - distro/redhat/etc/init.d/chef-server
@@ -610,8 +572,10 @@ files:
610
572
  - distro/redhat/etc/sysconfig/chef-server-webui
611
573
  - distro/redhat/etc/sysconfig/chef-solr
612
574
  - distro/windows/service_manager.rb
613
- - lib/chef/api_client/registration.rb
575
+ - lib/chef.rb
614
576
  - lib/chef/api_client.rb
577
+ - lib/chef/api_client/registration.rb
578
+ - lib/chef/application.rb
615
579
  - lib/chef/application/agent.rb
616
580
  - lib/chef/application/apply.rb
617
581
  - lib/chef/application/client.rb
@@ -619,8 +583,8 @@ files:
619
583
  - lib/chef/application/solo.rb
620
584
  - lib/chef/application/windows_service.rb
621
585
  - lib/chef/application/windows_service_manager.rb
622
- - lib/chef/application.rb
623
586
  - lib/chef/applications.rb
587
+ - lib/chef/chef_fs.rb
624
588
  - lib/chef/chef_fs/chef_fs_data_store.rb
625
589
  - lib/chef/chef_fs/command_line.rb
626
590
  - lib/chef/chef_fs/config.rb
@@ -636,6 +600,7 @@ files:
636
600
  - lib/chef/chef_fs/data_handler/role_data_handler.rb
637
601
  - lib/chef/chef_fs/data_handler/user_data_handler.rb
638
602
  - lib/chef/chef_fs/file_pattern.rb
603
+ - lib/chef/chef_fs/file_system.rb
639
604
  - lib/chef/chef_fs/file_system/acl_dir.rb
640
605
  - lib/chef/chef_fs/file_system/acl_entry.rb
641
606
  - lib/chef/chef_fs/file_system/acls_dir.rb
@@ -675,13 +640,11 @@ files:
675
640
  - lib/chef/chef_fs/file_system/operation_not_allowed_error.rb
676
641
  - lib/chef/chef_fs/file_system/rest_list_dir.rb
677
642
  - lib/chef/chef_fs/file_system/rest_list_entry.rb
678
- - lib/chef/chef_fs/file_system.rb
679
643
  - lib/chef/chef_fs/knife.rb
644
+ - lib/chef/chef_fs/parallelizer.rb
680
645
  - lib/chef/chef_fs/parallelizer/flatten_enumerable.rb
681
646
  - lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
682
- - lib/chef/chef_fs/parallelizer.rb
683
647
  - lib/chef/chef_fs/path_utils.rb
684
- - lib/chef/chef_fs.rb
685
648
  - lib/chef/client.rb
686
649
  - lib/chef/config.rb
687
650
  - lib/chef/config_fetcher.rb
@@ -708,6 +671,7 @@ files:
708
671
  - lib/chef/deprecation/provider/template.rb
709
672
  - lib/chef/deprecation/warnings.rb
710
673
  - lib/chef/digester.rb
674
+ - lib/chef/dsl.rb
711
675
  - lib/chef/dsl/data_query.rb
712
676
  - lib/chef/dsl/include_attribute.rb
713
677
  - lib/chef/dsl/include_recipe.rb
@@ -715,32 +679,32 @@ files:
715
679
  - lib/chef/dsl/reboot_pending.rb
716
680
  - lib/chef/dsl/recipe.rb
717
681
  - lib/chef/dsl/registry_helper.rb
718
- - lib/chef/dsl.rb
682
+ - lib/chef/encrypted_data_bag_item.rb
719
683
  - lib/chef/encrypted_data_bag_item/decryption_failure.rb
720
684
  - lib/chef/encrypted_data_bag_item/decryptor.rb
721
685
  - lib/chef/encrypted_data_bag_item/encryptor.rb
722
686
  - lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
723
687
  - lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
724
688
  - lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
725
- - lib/chef/encrypted_data_bag_item.rb
726
689
  - lib/chef/environment.rb
727
690
  - lib/chef/event_dispatch/base.rb
728
691
  - lib/chef/event_dispatch/dispatcher.rb
729
692
  - lib/chef/event_dispatch/events_output_stream.rb
730
693
  - lib/chef/exceptions.rb
694
+ - lib/chef/file_access_control.rb
731
695
  - lib/chef/file_access_control/unix.rb
732
696
  - lib/chef/file_access_control/windows.rb
733
- - lib/chef/file_access_control.rb
734
697
  - lib/chef/file_cache.rb
735
698
  - lib/chef/file_content_management/content_base.rb
699
+ - lib/chef/file_content_management/deploy.rb
736
700
  - lib/chef/file_content_management/deploy/cp.rb
737
701
  - lib/chef/file_content_management/deploy/mv_unix.rb
738
702
  - lib/chef/file_content_management/deploy/mv_windows.rb
739
- - lib/chef/file_content_management/deploy.rb
740
703
  - lib/chef/file_content_management/tempfile.rb
741
704
  - lib/chef/formatters/base.rb
742
705
  - lib/chef/formatters/doc.rb
743
706
  - lib/chef/formatters/error_descriptor.rb
707
+ - lib/chef/formatters/error_inspectors.rb
744
708
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
745
709
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
746
710
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -749,15 +713,15 @@ files:
749
713
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
750
714
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
751
715
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
752
- - lib/chef/formatters/error_inspectors.rb
753
716
  - lib/chef/formatters/error_mapper.rb
754
717
  - lib/chef/formatters/indentable_output_stream.rb
755
718
  - lib/chef/formatters/minimal.rb
756
719
  - lib/chef/guard_interpreter/default_guard_interpreter.rb
757
720
  - lib/chef/guard_interpreter/resource_guard_interpreter.rb
721
+ - lib/chef/handler.rb
758
722
  - lib/chef/handler/error_report.rb
759
723
  - lib/chef/handler/json_file.rb
760
- - lib/chef/handler.rb
724
+ - lib/chef/http.rb
761
725
  - lib/chef/http/auth_credentials.rb
762
726
  - lib/chef/http/authenticator.rb
763
727
  - lib/chef/http/basic_client.rb
@@ -772,18 +736,18 @@ files:
772
736
  - lib/chef/http/simple.rb
773
737
  - lib/chef/http/ssl_policies.rb
774
738
  - lib/chef/http/validate_content_length.rb
775
- - lib/chef/http.rb
776
739
  - lib/chef/json_compat.rb
740
+ - lib/chef/knife.rb
741
+ - lib/chef/knife/bootstrap.rb
742
+ - lib/chef/knife/bootstrap/README.md
777
743
  - lib/chef/knife/bootstrap/archlinux-gems.erb
778
744
  - lib/chef/knife/bootstrap/centos5-gems.erb
779
745
  - lib/chef/knife/bootstrap/chef-aix.erb
780
746
  - lib/chef/knife/bootstrap/chef-full.erb
781
747
  - lib/chef/knife/bootstrap/fedora13-gems.erb
782
- - lib/chef/knife/bootstrap/README.md
783
748
  - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
784
749
  - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
785
750
  - lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
786
- - lib/chef/knife/bootstrap.rb
787
751
  - lib/chef/knife/client_bulk_delete.rb
788
752
  - lib/chef/knife/client_create.rb
789
753
  - lib/chef/knife/client_delete.rb
@@ -881,13 +845,12 @@ files:
881
845
  - lib/chef/knife/user_reregister.rb
882
846
  - lib/chef/knife/user_show.rb
883
847
  - lib/chef/knife/xargs.rb
884
- - lib/chef/knife.rb
885
848
  - lib/chef/log.rb
886
849
  - lib/chef/mash.rb
887
850
  - lib/chef/mixin/checksum.rb
851
+ - lib/chef/mixin/command.rb
888
852
  - lib/chef/mixin/command/unix.rb
889
853
  - lib/chef/mixin/command/windows.rb
890
- - lib/chef/mixin/command.rb
891
854
  - lib/chef/mixin/convert_to_class_name.rb
892
855
  - lib/chef/mixin/create_path.rb
893
856
  - lib/chef/mixin/deep_merge.rb
@@ -923,35 +886,37 @@ files:
923
886
  - lib/chef/monkey_patches/uri.rb
924
887
  - lib/chef/monologger.rb
925
888
  - lib/chef/nil_argument.rb
889
+ - lib/chef/node.rb
926
890
  - lib/chef/node/attribute.rb
927
891
  - lib/chef/node/attribute_collections.rb
928
892
  - lib/chef/node/immutable_collections.rb
929
- - lib/chef/node.rb
893
+ - lib/chef/platform.rb
930
894
  - lib/chef/platform/provider_mapping.rb
931
895
  - lib/chef/platform/query_helpers.rb
932
- - lib/chef/platform.rb
896
+ - lib/chef/policy_builder.rb
933
897
  - lib/chef/policy_builder/expand_node_object.rb
934
898
  - lib/chef/policy_builder/policyfile.rb
935
- - lib/chef/policy_builder.rb
899
+ - lib/chef/provider.rb
936
900
  - lib/chef/provider/batch.rb
937
901
  - lib/chef/provider/breakpoint.rb
938
- - lib/chef/provider/cookbook_file/content.rb
939
902
  - lib/chef/provider/cookbook_file.rb
903
+ - lib/chef/provider/cookbook_file/content.rb
904
+ - lib/chef/provider/cron.rb
940
905
  - lib/chef/provider/cron/aix.rb
941
906
  - lib/chef/provider/cron/solaris.rb
942
907
  - lib/chef/provider/cron/unix.rb
943
- - lib/chef/provider/cron.rb
908
+ - lib/chef/provider/deploy.rb
944
909
  - lib/chef/provider/deploy/revision.rb
945
910
  - lib/chef/provider/deploy/timestamped.rb
946
- - lib/chef/provider/deploy.rb
947
911
  - lib/chef/provider/directory.rb
948
- - lib/chef/provider/env/windows.rb
949
912
  - lib/chef/provider/env.rb
913
+ - lib/chef/provider/env/windows.rb
950
914
  - lib/chef/provider/erl_call.rb
951
915
  - lib/chef/provider/execute.rb
952
- - lib/chef/provider/file/content.rb
953
916
  - lib/chef/provider/file.rb
917
+ - lib/chef/provider/file/content.rb
954
918
  - lib/chef/provider/git.rb
919
+ - lib/chef/provider/group.rb
955
920
  - lib/chef/provider/group/aix.rb
956
921
  - lib/chef/provider/group/dscl.rb
957
922
  - lib/chef/provider/group/gpasswd.rb
@@ -961,22 +926,22 @@ files:
961
926
  - lib/chef/provider/group/suse.rb
962
927
  - lib/chef/provider/group/usermod.rb
963
928
  - lib/chef/provider/group/windows.rb
964
- - lib/chef/provider/group.rb
965
929
  - lib/chef/provider/http_request.rb
930
+ - lib/chef/provider/ifconfig.rb
966
931
  - lib/chef/provider/ifconfig/aix.rb
967
932
  - lib/chef/provider/ifconfig/debian.rb
968
933
  - lib/chef/provider/ifconfig/redhat.rb
969
- - lib/chef/provider/ifconfig.rb
970
934
  - lib/chef/provider/link.rb
971
935
  - lib/chef/provider/log.rb
972
936
  - lib/chef/provider/lwrp_base.rb
973
937
  - lib/chef/provider/mdadm.rb
938
+ - lib/chef/provider/mount.rb
974
939
  - lib/chef/provider/mount/aix.rb
975
940
  - lib/chef/provider/mount/mount.rb
976
941
  - lib/chef/provider/mount/solaris.rb
977
942
  - lib/chef/provider/mount/windows.rb
978
- - lib/chef/provider/mount.rb
979
943
  - lib/chef/provider/ohai.rb
944
+ - lib/chef/provider/package.rb
980
945
  - lib/chef/provider/package/aix.rb
981
946
  - lib/chef/provider/package/apt.rb
982
947
  - lib/chef/provider/package/dpkg.rb
@@ -994,26 +959,26 @@ files:
994
959
  - lib/chef/provider/package/rubygems.rb
995
960
  - lib/chef/provider/package/smartos.rb
996
961
  - lib/chef/provider/package/solaris.rb
997
- - lib/chef/provider/package/windows/msi.rb
998
962
  - lib/chef/provider/package/windows.rb
963
+ - lib/chef/provider/package/windows/msi.rb
999
964
  - lib/chef/provider/package/yum-dump.py
1000
965
  - lib/chef/provider/package/yum.rb
1001
966
  - lib/chef/provider/package/zypper.rb
1002
- - lib/chef/provider/package.rb
1003
967
  - lib/chef/provider/powershell_script.rb
1004
968
  - lib/chef/provider/registry_key.rb
1005
969
  - lib/chef/provider/remote_directory.rb
970
+ - lib/chef/provider/remote_file.rb
1006
971
  - lib/chef/provider/remote_file/cache_control_data.rb
1007
972
  - lib/chef/provider/remote_file/content.rb
1008
973
  - lib/chef/provider/remote_file/fetcher.rb
1009
974
  - lib/chef/provider/remote_file/ftp.rb
1010
975
  - lib/chef/provider/remote_file/http.rb
1011
976
  - lib/chef/provider/remote_file/local_file.rb
1012
- - lib/chef/provider/remote_file.rb
1013
977
  - lib/chef/provider/resource_update.rb
1014
978
  - lib/chef/provider/route.rb
1015
979
  - lib/chef/provider/ruby_block.rb
1016
980
  - lib/chef/provider/script.rb
981
+ - lib/chef/provider/service.rb
1017
982
  - lib/chef/provider/service/arch.rb
1018
983
  - lib/chef/provider/service/debian.rb
1019
984
  - lib/chef/provider/service/freebsd.rb
@@ -1028,24 +993,23 @@ files:
1028
993
  - lib/chef/provider/service/systemd.rb
1029
994
  - lib/chef/provider/service/upstart.rb
1030
995
  - lib/chef/provider/service/windows.rb
1031
- - lib/chef/provider/service.rb
1032
996
  - lib/chef/provider/subversion.rb
1033
- - lib/chef/provider/template/content.rb
1034
997
  - lib/chef/provider/template.rb
998
+ - lib/chef/provider/template/content.rb
1035
999
  - lib/chef/provider/template_finder.rb
1000
+ - lib/chef/provider/user.rb
1036
1001
  - lib/chef/provider/user/dscl.rb
1037
1002
  - lib/chef/provider/user/pw.rb
1038
1003
  - lib/chef/provider/user/solaris.rb
1039
1004
  - lib/chef/provider/user/useradd.rb
1040
1005
  - lib/chef/provider/user/windows.rb
1041
- - lib/chef/provider/user.rb
1042
1006
  - lib/chef/provider/whyrun_safe_ruby_block.rb
1043
1007
  - lib/chef/provider/windows_script.rb
1044
- - lib/chef/provider.rb
1045
1008
  - lib/chef/providers.rb
1046
1009
  - lib/chef/recipe.rb
1047
1010
  - lib/chef/request_id.rb
1048
1011
  - lib/chef/reserved_names.rb
1012
+ - lib/chef/resource.rb
1049
1013
  - lib/chef/resource/apt_package.rb
1050
1014
  - lib/chef/resource/bash.rb
1051
1015
  - lib/chef/resource/batch.rb
@@ -1107,9 +1071,8 @@ files:
1107
1071
  - lib/chef/resource/windows_package.rb
1108
1072
  - lib/chef/resource/windows_script.rb
1109
1073
  - lib/chef/resource/yum_package.rb
1110
- - lib/chef/resource.rb
1111
- - lib/chef/resource_collection/stepable_iterator.rb
1112
1074
  - lib/chef/resource_collection.rb
1075
+ - lib/chef/resource_collection/stepable_iterator.rb
1113
1076
  - lib/chef/resource_definition.rb
1114
1077
  - lib/chef/resource_definition_list.rb
1115
1078
  - lib/chef/resource_platform_map.rb
@@ -1117,12 +1080,12 @@ files:
1117
1080
  - lib/chef/resources.rb
1118
1081
  - lib/chef/rest.rb
1119
1082
  - lib/chef/role.rb
1120
- - lib/chef/run_context/cookbook_compiler.rb
1121
1083
  - lib/chef/run_context.rb
1084
+ - lib/chef/run_context/cookbook_compiler.rb
1085
+ - lib/chef/run_list.rb
1122
1086
  - lib/chef/run_list/run_list_expansion.rb
1123
1087
  - lib/chef/run_list/run_list_item.rb
1124
1088
  - lib/chef/run_list/versioned_recipe_list.rb
1125
- - lib/chef/run_list.rb
1126
1089
  - lib/chef/run_lock.rb
1127
1090
  - lib/chef/run_status.rb
1128
1091
  - lib/chef/runner.rb
@@ -1131,11 +1094,11 @@ files:
1131
1094
  - lib/chef/search/query.rb
1132
1095
  - lib/chef/server_api.rb
1133
1096
  - lib/chef/shef/ext.rb
1097
+ - lib/chef/shell.rb
1134
1098
  - lib/chef/shell/ext.rb
1135
1099
  - lib/chef/shell/model_wrapper.rb
1136
1100
  - lib/chef/shell/shell_rest.rb
1137
1101
  - lib/chef/shell/shell_session.rb
1138
- - lib/chef/shell.rb
1139
1102
  - lib/chef/shell_out.rb
1140
1103
  - lib/chef/streaming_cookbook_uploader.rb
1141
1104
  - lib/chef/tasks/chef_repo.rake
@@ -1147,47 +1110,46 @@ files:
1147
1110
  - lib/chef/util/path_helper.rb
1148
1111
  - lib/chef/util/selinux.rb
1149
1112
  - lib/chef/util/threaded_job_queue.rb
1113
+ - lib/chef/util/windows.rb
1150
1114
  - lib/chef/util/windows/net_group.rb
1151
1115
  - lib/chef/util/windows/net_use.rb
1152
1116
  - lib/chef/util/windows/net_user.rb
1153
1117
  - lib/chef/util/windows/volume.rb
1154
- - lib/chef/util/windows.rb
1155
- - lib/chef/version/platform.rb
1156
1118
  - lib/chef/version.rb
1119
+ - lib/chef/version/platform.rb
1157
1120
  - lib/chef/version_class.rb
1158
- - lib/chef/version_constraint/platform.rb
1159
1121
  - lib/chef/version_constraint.rb
1122
+ - lib/chef/version_constraint/platform.rb
1160
1123
  - lib/chef/whitelist.rb
1124
+ - lib/chef/win32/api.rb
1161
1125
  - lib/chef/win32/api/error.rb
1162
1126
  - lib/chef/win32/api/file.rb
1163
1127
  - lib/chef/win32/api/installer.rb
1164
1128
  - lib/chef/win32/api/memory.rb
1129
+ - lib/chef/win32/api/net.rb
1165
1130
  - lib/chef/win32/api/process.rb
1166
1131
  - lib/chef/win32/api/psapi.rb
1167
1132
  - lib/chef/win32/api/security.rb
1168
1133
  - lib/chef/win32/api/synchronization.rb
1169
1134
  - lib/chef/win32/api/system.rb
1170
1135
  - lib/chef/win32/api/unicode.rb
1171
- - lib/chef/win32/api.rb
1172
1136
  - lib/chef/win32/error.rb
1173
- - lib/chef/win32/file/info.rb
1174
1137
  - lib/chef/win32/file.rb
1138
+ - lib/chef/win32/file/info.rb
1175
1139
  - lib/chef/win32/handle.rb
1176
1140
  - lib/chef/win32/memory.rb
1177
1141
  - lib/chef/win32/mutex.rb
1178
1142
  - lib/chef/win32/process.rb
1179
1143
  - lib/chef/win32/registry.rb
1144
+ - lib/chef/win32/security.rb
1180
1145
  - lib/chef/win32/security/ace.rb
1181
1146
  - lib/chef/win32/security/acl.rb
1182
1147
  - lib/chef/win32/security/securable_object.rb
1183
1148
  - lib/chef/win32/security/security_descriptor.rb
1184
1149
  - lib/chef/win32/security/sid.rb
1185
1150
  - lib/chef/win32/security/token.rb
1186
- - lib/chef/win32/security.rb
1187
1151
  - lib/chef/win32/unicode.rb
1188
1152
  - lib/chef/win32/version.rb
1189
- - lib/chef.rb
1190
- - tasks/rspec.rb
1191
1153
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1192
1154
  - spec/data/apt/chef-integration-test-1.0/debian/compat
1193
1155
  - spec/data/apt/chef-integration-test-1.0/debian/control
@@ -1217,11 +1179,11 @@ files:
1217
1179
  - spec/data/apt/var/www/apt/db/references.db
1218
1180
  - spec/data/apt/var/www/apt/db/release.caches.db
1219
1181
  - spec/data/apt/var/www/apt/db/version
1182
+ - spec/data/apt/var/www/apt/dists/sid/Release
1220
1183
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
1221
1184
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
1222
1185
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
1223
1186
  - spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
1224
- - spec/data/apt/var/www/apt/dists/sid/Release
1225
1187
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
1226
1188
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
1227
1189
  - spec/data/bad-config.rb
@@ -1232,12 +1194,12 @@ files:
1232
1194
  - spec/data/bootstrap/secret.erb
1233
1195
  - spec/data/bootstrap/test-hints.erb
1234
1196
  - spec/data/bootstrap/test.erb
1197
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1235
1198
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1236
1199
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1237
1200
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1238
1201
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1239
1202
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1240
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1241
1203
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1242
1204
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1243
1205
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1390,16 +1352,6 @@ files:
1390
1352
  - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1391
1353
  - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1392
1354
  - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1393
- - spec/data/run_context/cookbooks/test/attributes/default.rb
1394
- - spec/data/run_context/cookbooks/test/attributes/george.rb
1395
- - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1396
- - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1397
- - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1398
- - spec/data/run_context/cookbooks/test/providers/provider.rb
1399
- - spec/data/run_context/cookbooks/test/recipes/default.rb
1400
- - spec/data/run_context/cookbooks/test/recipes/one.rb
1401
- - spec/data/run_context/cookbooks/test/recipes/two.rb
1402
- - spec/data/run_context/cookbooks/test/resources/resource.rb
1403
1355
  - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1404
1356
  - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1405
1357
  - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
@@ -1415,6 +1367,16 @@ files:
1415
1367
  - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1416
1368
  - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1417
1369
  - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1370
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1371
+ - spec/data/run_context/cookbooks/test/attributes/george.rb
1372
+ - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1373
+ - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1374
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1375
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1376
+ - spec/data/run_context/cookbooks/test/recipes/default.rb
1377
+ - spec/data/run_context/cookbooks/test/recipes/one.rb
1378
+ - spec/data/run_context/cookbooks/test/recipes/two.rb
1379
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1418
1380
  - spec/data/run_context/nodes/run_context.rb
1419
1381
  - spec/data/search_queries_to_transform.txt
1420
1382
  - spec/data/shef-config.rb
@@ -1424,8 +1386,8 @@ files:
1424
1386
  - spec/data/ssl/key.pem
1425
1387
  - spec/data/ssl/private_key.pem
1426
1388
  - spec/data/ssl/private_key_with_whitespace.pem
1427
- - spec/data/standalone_cookbook/chefignore
1428
1389
  - spec/data/standalone_cookbook/Gemfile
1390
+ - spec/data/standalone_cookbook/chefignore
1429
1391
  - spec/data/standalone_cookbook/recipes/default.rb
1430
1392
  - spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb
1431
1393
  - spec/data/templates/seattle.txt
@@ -1434,12 +1396,12 @@ files:
1434
1396
  - spec/data/trusted_certs/opscode.pem
1435
1397
  - spec/data/trusted_certs/root.pem
1436
1398
  - spec/functional/application_spec.rb
1399
+ - spec/functional/assets/PkgA.1.0.0.0.bff
1400
+ - spec/functional/assets/PkgA.2.0.0.0.bff
1437
1401
  - spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
1438
1402
  - spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
1439
1403
  - spec/functional/assets/mytest-1.0-1.noarch.rpm
1440
1404
  - spec/functional/assets/mytest-2.0-1.noarch.rpm
1441
- - spec/functional/assets/PkgA.1.0.0.0.bff
1442
- - spec/functional/assets/PkgA.2.0.0.0.bff
1443
1405
  - spec/functional/dsl/reboot_pending_spec.rb
1444
1406
  - spec/functional/dsl/registry_helper_spec.rb
1445
1407
  - spec/functional/file_content_management/deploy_strategies_spec.rb
@@ -1591,6 +1553,7 @@ files:
1591
1553
  - spec/unit/file_content_management/deploy/cp_spec.rb
1592
1554
  - spec/unit/file_content_management/deploy/mv_unix_spec.rb
1593
1555
  - spec/unit/file_content_management/deploy/mv_windows_spec.rb
1556
+ - spec/unit/formatters/base_spec.rb
1594
1557
  - spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb
1595
1558
  - spec/unit/formatters/error_inspectors/cookbook_resolve_error_inspector_spec.rb
1596
1559
  - spec/unit/formatters/error_inspectors/cookbook_sync_error_inspector_spec.rb
@@ -1903,39 +1866,29 @@ files:
1903
1866
  - spec/unit/version_constraint/platform_spec.rb
1904
1867
  - spec/unit/version_constraint_spec.rb
1905
1868
  - spec/unit/windows_service_spec.rb
1906
- - bin/chef-client
1907
- - bin/chef-solo
1908
- - bin/knife
1909
- - bin/chef-shell
1910
- - bin/shef
1911
- - bin/chef-apply
1912
- - bin/chef-service-manager
1869
+ - tasks/rspec.rb
1913
1870
  homepage: http://wiki.opscode.com/display/chef
1914
1871
  licenses: []
1872
+ metadata: {}
1915
1873
  post_install_message:
1916
1874
  rdoc_options: []
1917
1875
  require_paths:
1918
1876
  - lib
1919
1877
  required_ruby_version: !ruby/object:Gem::Requirement
1920
- none: false
1921
1878
  requirements:
1922
- - - ! '>='
1879
+ - - ">="
1923
1880
  - !ruby/object:Gem::Version
1924
1881
  version: '0'
1925
- segments:
1926
- - 0
1927
- hash: 1503652227548245970
1928
1882
  required_rubygems_version: !ruby/object:Gem::Requirement
1929
- none: false
1930
1883
  requirements:
1931
- - - ! '>'
1884
+ - - ">="
1932
1885
  - !ruby/object:Gem::Version
1933
- version: 1.3.1
1886
+ version: '0'
1934
1887
  requirements: []
1935
1888
  rubyforge_project:
1936
- rubygems_version: 1.8.24
1889
+ rubygems_version: 2.2.2
1937
1890
  signing_key:
1938
- specification_version: 3
1891
+ specification_version: 4
1939
1892
  summary: A systems integration framework, built to bring the benefits of configuration
1940
1893
  management to your entire infrastructure.
1941
1894
  test_files: []