chef 11.10.4 → 11.12.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +7 -0
  2. data/CONTRIBUTING.md +6 -6
  3. data/README.md +1 -1
  4. data/lib/chef/api_client.rb +1 -3
  5. data/lib/chef/application.rb +2 -1
  6. data/lib/chef/application/client.rb +11 -1
  7. data/lib/chef/client.rb +24 -9
  8. data/lib/chef/cookbook/syntax_check.rb +107 -6
  9. data/lib/chef/dsl/reboot_pending.rb +61 -0
  10. data/lib/chef/exceptions.rb +12 -1
  11. data/lib/chef/formatters/error_descriptor.rb +1 -1
  12. data/lib/chef/http/remote_request_id.rb +46 -0
  13. data/lib/chef/knife/bootstrap.rb +1 -1
  14. data/lib/chef/knife/bootstrap/README.md +12 -0
  15. data/lib/chef/knife/bootstrap/chef-full.erb +3 -0
  16. data/lib/chef/knife/client_create.rb +6 -0
  17. data/lib/chef/knife/client_delete.rb +15 -1
  18. data/lib/chef/knife/raw.rb +1 -0
  19. data/lib/chef/node.rb +1 -1
  20. data/lib/chef/node/attribute_collections.rb +8 -1
  21. data/lib/chef/node/immutable_collections.rb +8 -1
  22. data/lib/chef/provider/deploy.rb +1 -1
  23. data/lib/chef/provider/group.rb +1 -1
  24. data/lib/chef/provider/ifconfig/debian.rb +19 -8
  25. data/lib/chef/provider/ohai.rb +6 -5
  26. data/lib/chef/provider/service/macosx.rb +68 -14
  27. data/lib/chef/recipe.rb +2 -0
  28. data/lib/chef/request_id.rb +37 -0
  29. data/lib/chef/resource.rb +2 -0
  30. data/lib/chef/resource_reporter.rb +7 -4
  31. data/lib/chef/rest.rb +5 -1
  32. data/lib/chef/run_status.rb +4 -1
  33. data/lib/chef/server_api.rb +3 -1
  34. data/lib/chef/version.rb +2 -2
  35. data/spec/functional/dsl/reboot_pending_spec.rb +118 -0
  36. data/spec/functional/resource/base.rb +1 -3
  37. data/spec/functional/resource/deploy_revision_spec.rb +192 -1
  38. data/spec/functional/resource/git_spec.rb +1 -1
  39. data/spec/functional/resource/ohai_spec.rb +65 -0
  40. data/spec/functional/resource/registry_spec.rb +4 -5
  41. data/spec/integration/client/client_spec.rb +14 -0
  42. data/spec/spec_helper.rb +1 -2
  43. data/spec/support/shared/functional/windows_script.rb +1 -2
  44. data/spec/unit/api_client_spec.rb +46 -0
  45. data/spec/unit/client_spec.rb +345 -229
  46. data/spec/unit/cookbook/syntax_check_spec.rb +0 -1
  47. data/spec/unit/dsl/reboot_pending_spec.rb +100 -0
  48. data/spec/unit/knife/client_create_spec.rb +29 -1
  49. data/spec/unit/knife/client_delete_spec.rb +44 -1
  50. data/spec/unit/knife_spec.rb +55 -0
  51. data/spec/unit/node/attribute_spec.rb +7 -0
  52. data/spec/unit/node/immutable_collections_spec.rb +5 -1
  53. data/spec/unit/provider/group_spec.rb +5 -0
  54. data/spec/unit/provider/ifconfig/debian_spec.rb +251 -24
  55. data/spec/unit/provider/ohai_spec.rb +2 -3
  56. data/spec/unit/provider/service/macosx_spec.rb +29 -11
  57. data/spec/unit/resource_reporter_spec.rb +1 -1
  58. data/spec/unit/rest_spec.rb +38 -13
  59. metadata +151 -194
@@ -41,9 +41,8 @@ describe Chef::Provider::Ohai do
41
41
  :newdata => "somevalue"
42
42
  }
43
43
  }
44
- mock_ohai.stub(:all_plugins).and_return(true)
45
- mock_ohai.stub(:require_plugin).and_return(true)
46
- mock_ohai.stub(:data).and_return(mock_ohai[:data],
44
+ mock_ohai.stub!(:all_plugins).and_return(true)
45
+ mock_ohai.stub!(:data).and_return(mock_ohai[:data],
47
46
  mock_ohai[:data2])
48
47
  Ohai::System.stub(:new).and_return(mock_ohai)
49
48
  Chef::Platform.stub(:find_platform_and_version).and_return({ "platform" => @platform,
@@ -46,14 +46,32 @@ describe Chef::Provider::Service::Macosx do
46
46
  let(:events) {Chef::EventDispatch::Dispatcher.new}
47
47
  let(:run_context) { Chef::RunContext.new(node, {}, events) }
48
48
  let(:provider) { described_class.new(new_resource, run_context) }
49
- let(:stdout) { StringIO.new }
49
+ let(:launchctl_stdout) { StringIO.new }
50
+ let(:plutil_stdout) { String.new <<-XML }
51
+ <?xml version="1.0" encoding="UTF-8"?>
52
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
53
+ <plist version="1.0">
54
+ <dict>
55
+ <key>Label</key>
56
+ <string>io.redis.redis-server</string>
57
+ </dict>
58
+ </plist>
59
+ XML
50
60
 
51
61
  ["redis-server", "io.redis.redis-server"].each do |service_name|
52
62
  before do
53
63
  Dir.stub(:glob).and_return(["/Users/igor/Library/LaunchAgents/io.redis.redis-server.plist"], [])
54
64
  provider.stub(:shell_out!).
55
65
  with("launchctl list", {:group => 1001, :user => 101}).
56
- and_return(double("ouput", :stdout => stdout))
66
+ and_return(mock("Status", :stdout => launchctl_stdout))
67
+ provider.stub(:shell_out).
68
+ with(/launchctl list /,
69
+ {:group => nil, :user => nil}).
70
+ and_return(mock("Status",
71
+ :stdout => launchctl_stdout, :exitstatus => 0))
72
+ provider.stub(:shell_out!).
73
+ with(/plutil -convert xml1 -o/).
74
+ and_return(mock("Status", :stdout => plutil_stdout))
57
75
 
58
76
  File.stub(:stat).and_return(double("stat", :gid => 1001, :uid => 101))
59
77
  end
@@ -64,7 +82,7 @@ describe Chef::Provider::Service::Macosx do
64
82
 
65
83
  describe "#load_current_resource" do
66
84
  context "when launchctl returns pid in service list" do
67
- let(:stdout) { StringIO.new <<-SVC_LIST }
85
+ let(:launchctl_stdout) { StringIO.new <<-SVC_LIST }
68
86
  12761 - 0x100114220.old.machinit.thing
69
87
  7777 - io.redis.redis-server
70
88
  - - com.lol.stopped-thing
@@ -84,21 +102,21 @@ describe Chef::Provider::Service::Macosx do
84
102
  end
85
103
 
86
104
  describe "running unsupported actions" do
105
+ let(:launchctl_stdout) { StringIO.new <<-SVC_LIST }
106
+ 12761 - 0x100114220.old.machinit.thing
107
+ 7777 - io.redis.redis-server
108
+ - - com.lol.stopped-thing
109
+ SVC_LIST
110
+
87
111
  before do
88
112
  Dir.stub(:glob).and_return(["/Users/igor/Library/LaunchAgents/io.redis.redis-server.plist"], [])
89
113
  end
90
- it "should throw an exception when enable action is attempted" do
91
- lambda {provider.run_action(:enable)}.should raise_error(Chef::Exceptions::UnsupportedAction)
92
- end
93
114
  it "should throw an exception when reload action is attempted" do
94
115
  lambda {provider.run_action(:reload)}.should raise_error(Chef::Exceptions::UnsupportedAction)
95
116
  end
96
- it "should throw an exception when disable action is attempted" do
97
- lambda {provider.run_action(:disable)}.should raise_error(Chef::Exceptions::UnsupportedAction)
98
- end
99
117
  end
100
118
  context "when launchctl returns empty service pid" do
101
- let(:stdout) { StringIO.new <<-SVC_LIST }
119
+ let(:launchctl_stdout) { StringIO.new <<-SVC_LIST }
102
120
  12761 - 0x100114220.old.machinit.thing
103
121
  - - io.redis.redis-server
104
122
  - - com.lol.stopped-thing
@@ -118,7 +136,7 @@ describe Chef::Provider::Service::Macosx do
118
136
  end
119
137
 
120
138
  context "when launchctl doesn't return service entry at all" do
121
- let(:stdout) { StringIO.new <<-SVC_LIST }
139
+ let(:launchctl_stdout) { StringIO.new <<-SVC_LIST }
122
140
  12761 - 0x100114220.old.machinit.thing
123
141
  - - com.lol.stopped-thing
124
142
  SVC_LIST
@@ -38,7 +38,6 @@ describe Chef::ResourceReporter do
38
38
  @rest_client = double("Chef::REST (mock)")
39
39
  @rest_client.stub(:post_rest).and_return(true)
40
40
  @resource_reporter = Chef::ResourceReporter.new(@rest_client)
41
- @run_id = @resource_reporter.run_id
42
41
  @new_resource = Chef::Resource::File.new("/tmp/a-file.txt")
43
42
  @new_resource.cookbook_name = "monkey"
44
43
  @cookbook_version = double("Cookbook::Version", :version => "1.2.3")
@@ -49,6 +48,7 @@ describe Chef::ResourceReporter do
49
48
  @events = Chef::EventDispatch::Dispatcher.new
50
49
  @run_context = Chef::RunContext.new(@node, {}, @events)
51
50
  @run_status = Chef::RunStatus.new(@node, @events)
51
+ @run_id = @run_status.run_id
52
52
  Time.stub(:now).and_return(@start_time, @end_time)
53
53
  end
54
54
 
@@ -59,13 +59,19 @@ describe Chef::REST do
59
59
 
60
60
  let(:log_stringio) { StringIO.new }
61
61
 
62
+ let(:request_id) {"1234"}
63
+
62
64
  let(:rest) do
63
65
  Chef::REST::CookieJar.stub(:instance).and_return({})
66
+ Chef::RequestID.instance.stub(:request_id).and_return(request_id)
64
67
  rest = Chef::REST.new(base_url, nil, nil)
65
68
  Chef::REST::CookieJar.instance.clear
66
69
  rest
67
70
  end
68
71
 
72
+ let(:standard_read_headers) {{"Accept"=>"application/json", "Accept"=>"application/json", "Accept-Encoding"=>"gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "X-REMOTE-REQUEST-ID"=>request_id}}
73
+ let(:standard_write_headers) {{"Accept"=>"application/json", "Content-Type"=>"application/json", "Accept"=>"application/json", "Accept-Encoding"=>"gzip;q=1.0,deflate;q=0.6,identity;q=0.3", "X-REMOTE-REQUEST-ID"=>request_id}}
74
+
69
75
  before(:each) do
70
76
  Chef::Log.init(log_stringio)
71
77
  end
@@ -82,7 +88,7 @@ describe Chef::REST do
82
88
 
83
89
  it "makes a :GET request with the composed url object" do
84
90
  rest.should_receive(:send_http_request).
85
- with(:GET, monkey_uri, STANDARD_READ_HEADERS, false).
91
+ with(:GET, monkey_uri, standard_read_headers, false).
86
92
  and_return([1,2,3])
87
93
  rest.should_receive(:apply_response_middleware).with(1,2,3).and_return([1,2,3])
88
94
  rest.should_receive('success_response?'.to_sym).with(1).and_return(true)
@@ -94,12 +100,9 @@ describe Chef::REST do
94
100
  rest.get_rest("monkey", true)
95
101
  end
96
102
 
97
- STANDARD_READ_HEADERS = {"Accept"=>"application/json", "Accept"=>"application/json", "Accept-Encoding"=>"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"}
98
- STANDARD_WRITE_HEADERS = {"Accept"=>"application/json", "Content-Type"=>"application/json", "Accept"=>"application/json", "Accept-Encoding"=>"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"}
99
-
100
103
  it "makes a :DELETE request with the composed url object" do
101
104
  rest.should_receive(:send_http_request).
102
- with(:DELETE, monkey_uri, STANDARD_READ_HEADERS, false).
105
+ with(:DELETE, monkey_uri, standard_read_headers, false).
103
106
  and_return([1,2,3])
104
107
  rest.should_receive(:apply_response_middleware).with(1,2,3).and_return([1,2,3])
105
108
  rest.should_receive('success_response?'.to_sym).with(1).and_return(true)
@@ -108,7 +111,7 @@ describe Chef::REST do
108
111
 
109
112
  it "makes a :POST request with the composed url object and data" do
110
113
  rest.should_receive(:send_http_request).
111
- with(:POST, monkey_uri, STANDARD_WRITE_HEADERS, "\"data\"").
114
+ with(:POST, monkey_uri, standard_write_headers, "\"data\"").
112
115
  and_return([1,2,3])
113
116
  rest.should_receive(:apply_response_middleware).with(1,2,3).and_return([1,2,3])
114
117
  rest.should_receive('success_response?'.to_sym).with(1).and_return(true)
@@ -117,7 +120,7 @@ describe Chef::REST do
117
120
 
118
121
  it "makes a :PUT request with the composed url object and data" do
119
122
  rest.should_receive(:send_http_request).
120
- with(:PUT, monkey_uri, STANDARD_WRITE_HEADERS, "\"data\"").
123
+ with(:PUT, monkey_uri, standard_write_headers, "\"data\"").
121
124
  and_return([1,2,3])
122
125
  rest.should_receive(:apply_response_middleware).with(1,2,3).and_return([1,2,3])
123
126
  rest.should_receive('success_response?'.to_sym).with(1).and_return(true)
@@ -142,27 +145,27 @@ describe Chef::REST do
142
145
  it 'calls the authn middleware' do
143
146
  data = "\"secure data\""
144
147
 
145
- auth_headers = STANDARD_WRITE_HEADERS.merge({"auth_done"=>"yep"})
148
+ auth_headers = standard_write_headers.merge({"auth_done"=>"yep"})
146
149
 
147
150
  rest.authenticator.should_receive(:handle_request).
148
- with(:POST, monkey_uri, STANDARD_WRITE_HEADERS, data).
151
+ with(:POST, monkey_uri, standard_write_headers, data).
149
152
  and_return([:POST, monkey_uri, auth_headers, data])
150
153
  rest.should_receive(:send_http_request).
151
154
  with(:POST, monkey_uri, auth_headers, data).
152
155
  and_return([1,2,3])
153
156
  rest.should_receive('success_response?'.to_sym).with(1).and_return(true)
154
- rest.raw_http_request(:POST, monkey_uri, STANDARD_WRITE_HEADERS, data)
157
+ rest.raw_http_request(:POST, monkey_uri, standard_write_headers, data)
155
158
  end
156
159
 
157
160
  it 'sets correct authn headers' do
158
161
  data = "\"secure data\""
159
- method, uri, auth_headers, d = rest.authenticator.handle_request(:POST, monkey_uri, STANDARD_WRITE_HEADERS, data)
162
+ method, uri, auth_headers, d = rest.authenticator.handle_request(:POST, monkey_uri, standard_write_headers, data)
160
163
 
161
164
  rest.should_receive(:send_http_request).
162
165
  with(:POST, monkey_uri, auth_headers, data).
163
166
  and_return([1,2,3])
164
167
  rest.should_receive('success_response?'.to_sym).with(1).and_return(true)
165
- rest.raw_http_request(:POST, monkey_uri, STANDARD_WRITE_HEADERS, data)
168
+ rest.raw_http_request(:POST, monkey_uri, standard_write_headers, data)
166
169
  end
167
170
  end
168
171
 
@@ -244,6 +247,7 @@ describe Chef::REST do
244
247
  let(:rest) do
245
248
  Net::HTTP.stub(:new).and_return(http_client)
246
249
  Chef::REST::CookieJar.stub(:instance).and_return({})
250
+ Chef::RequestID.instance.stub(:request_id).and_return(request_id)
247
251
  rest = Chef::REST.new(base_url, nil, nil)
248
252
  Chef::REST::CookieJar.instance.clear
249
253
  rest
@@ -254,6 +258,7 @@ describe Chef::REST do
254
258
  'Accept' => 'application/json',
255
259
  'X-Chef-Version' => Chef::VERSION,
256
260
  'Accept-Encoding' => Chef::REST::RESTRequest::ENCODING_GZIP_DEFLATE,
261
+ 'X-REMOTE-REQUEST-ID' => request_id
257
262
  }
258
263
  end
259
264
 
@@ -275,6 +280,7 @@ describe Chef::REST do
275
280
  'X-Chef-Version' => Chef::VERSION,
276
281
  'Accept-Encoding' => Chef::REST::RESTRequest::ENCODING_GZIP_DEFLATE,
277
282
  'Host' => host_header,
283
+ 'X-REMOTE-REQUEST-ID' => request_id
278
284
  }
279
285
  end
280
286
 
@@ -287,6 +293,11 @@ describe Chef::REST do
287
293
  rest.request(:GET, url, {})
288
294
  end
289
295
 
296
+ it "should always include the X-Remote-Request-Id header" do
297
+ Net::HTTP::Get.should_receive(:new).with("/?foo=bar", base_headers).and_return(request_mock)
298
+ rest.request(:GET, url, {})
299
+ end
300
+
290
301
  it "sets the user agent to chef-client" do
291
302
  # XXX: must reset to default b/c knife changes the UA
292
303
  Chef::REST::RESTRequest.user_agent = Chef::REST::RESTRequest::DEFAULT_UA
@@ -342,6 +353,7 @@ describe Chef::REST do
342
353
  let(:rest) do
343
354
  Net::HTTP.stub(:new).and_return(http_client)
344
355
  Chef::REST::CookieJar.instance["#{url.host}:#{url.port}"] = "cookie monster"
356
+ Chef::RequestID.instance.stub(:request_id).and_return(request_id)
345
357
  rest = Chef::REST.new(base_url, nil, nil)
346
358
  rest
347
359
  end
@@ -542,7 +554,20 @@ describe Chef::REST do
542
554
  expected_headers = {'Accept' => "*/*",
543
555
  'X-Chef-Version' => Chef::VERSION,
544
556
  'Accept-Encoding' => Chef::REST::RESTRequest::ENCODING_GZIP_DEFLATE,
545
- 'Host' => host_header}
557
+ 'Host' => host_header,
558
+ 'X-REMOTE-REQUEST-ID'=> request_id
559
+ }
560
+ Net::HTTP::Get.should_receive(:new).with("/?foo=bar", expected_headers).and_return(request_mock)
561
+ rest.streaming_request(url, {})
562
+ end
563
+
564
+ it "build a new HTTP GET request with the X-Remote-Request-Id header" do
565
+ expected_headers = {'Accept' => "*/*",
566
+ 'X-Chef-Version' => Chef::VERSION,
567
+ 'Accept-Encoding' => Chef::REST::RESTRequest::ENCODING_GZIP_DEFLATE,
568
+ 'Host' => host_header,
569
+ 'X-REMOTE-REQUEST-ID'=> request_id
570
+ }
546
571
  Net::HTTP::Get.should_receive(:new).with("/?foo=bar", expected_headers).and_return(request_mock)
547
572
  rest.streaming_request(url, {})
548
573
  end
metadata CHANGED
@@ -1,428 +1,379 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.10.4
5
- prerelease:
4
+ version: 11.12.0.alpha.1
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-02-20 00:00:00.000000000 Z
11
+ date: 2014-03-18 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.3'
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.3'
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: '6.0'
89
+ version: 7.0.0.rc.0
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: '6.0'
96
+ version: 7.0.0.rc.0
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
106
  version: 1.7.0
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
116
  version: 1.7.0
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: json
150
133
  requirement: !ruby/object:Gem::Requirement
151
- none: false
152
134
  requirements:
153
- - - ! '>='
135
+ - - ">="
154
136
  - !ruby/object:Gem::Version
155
137
  version: 1.4.4
156
- - - <=
138
+ - - "<="
157
139
  - !ruby/object:Gem::Version
158
140
  version: 1.8.1
159
141
  type: :runtime
160
142
  prerelease: false
161
143
  version_requirements: !ruby/object:Gem::Requirement
162
- none: false
163
144
  requirements:
164
- - - ! '>='
145
+ - - ">="
165
146
  - !ruby/object:Gem::Version
166
147
  version: 1.4.4
167
- - - <=
148
+ - - "<="
168
149
  - !ruby/object:Gem::Version
169
150
  version: 1.8.1
170
151
  - !ruby/object:Gem::Dependency
171
152
  name: yajl-ruby
172
153
  requirement: !ruby/object:Gem::Requirement
173
- none: false
174
154
  requirements:
175
- - - ~>
155
+ - - "~>"
176
156
  - !ruby/object:Gem::Version
177
157
  version: '1.1'
178
158
  type: :runtime
179
159
  prerelease: false
180
160
  version_requirements: !ruby/object:Gem::Requirement
181
- none: false
182
161
  requirements:
183
- - - ~>
162
+ - - "~>"
184
163
  - !ruby/object:Gem::Version
185
164
  version: '1.1'
186
165
  - !ruby/object:Gem::Dependency
187
166
  name: net-ssh
188
167
  requirement: !ruby/object:Gem::Requirement
189
- none: false
190
168
  requirements:
191
- - - ~>
169
+ - - "~>"
192
170
  - !ruby/object:Gem::Version
193
171
  version: '2.6'
194
172
  type: :runtime
195
173
  prerelease: false
196
174
  version_requirements: !ruby/object:Gem::Requirement
197
- none: false
198
175
  requirements:
199
- - - ~>
176
+ - - "~>"
200
177
  - !ruby/object:Gem::Version
201
178
  version: '2.6'
202
179
  - !ruby/object:Gem::Dependency
203
180
  name: net-ssh-multi
204
181
  requirement: !ruby/object:Gem::Requirement
205
- none: false
206
182
  requirements:
207
- - - ~>
183
+ - - "~>"
208
184
  - !ruby/object:Gem::Version
209
185
  version: '1.1'
210
186
  type: :runtime
211
187
  prerelease: false
212
188
  version_requirements: !ruby/object:Gem::Requirement
213
- none: false
214
189
  requirements:
215
- - - ~>
190
+ - - "~>"
216
191
  - !ruby/object:Gem::Version
217
192
  version: '1.1'
218
193
  - !ruby/object:Gem::Dependency
219
194
  name: highline
220
195
  requirement: !ruby/object:Gem::Requirement
221
- none: false
222
196
  requirements:
223
- - - ~>
197
+ - - "~>"
224
198
  - !ruby/object:Gem::Version
225
199
  version: '1.6'
226
- - - ! '>='
200
+ - - ">="
227
201
  - !ruby/object:Gem::Version
228
202
  version: 1.6.9
229
203
  type: :runtime
230
204
  prerelease: false
231
205
  version_requirements: !ruby/object:Gem::Requirement
232
- none: false
233
206
  requirements:
234
- - - ~>
207
+ - - "~>"
235
208
  - !ruby/object:Gem::Version
236
209
  version: '1.6'
237
- - - ! '>='
210
+ - - ">="
238
211
  - !ruby/object:Gem::Version
239
212
  version: 1.6.9
240
213
  - !ruby/object:Gem::Dependency
241
214
  name: erubis
242
215
  requirement: !ruby/object:Gem::Requirement
243
- none: false
244
216
  requirements:
245
- - - ~>
217
+ - - "~>"
246
218
  - !ruby/object:Gem::Version
247
219
  version: '2.7'
248
220
  type: :runtime
249
221
  prerelease: false
250
222
  version_requirements: !ruby/object:Gem::Requirement
251
- none: false
252
223
  requirements:
253
- - - ~>
224
+ - - "~>"
254
225
  - !ruby/object:Gem::Version
255
226
  version: '2.7'
256
227
  - !ruby/object:Gem::Dependency
257
228
  name: diff-lcs
258
229
  requirement: !ruby/object:Gem::Requirement
259
- none: false
260
230
  requirements:
261
- - - ~>
231
+ - - "~>"
262
232
  - !ruby/object:Gem::Version
263
233
  version: '1.2'
264
- - - ! '>='
234
+ - - ">="
265
235
  - !ruby/object:Gem::Version
266
236
  version: 1.2.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: '1.2'
275
- - - ! '>='
244
+ - - ">="
276
245
  - !ruby/object:Gem::Version
277
246
  version: 1.2.4
278
247
  - !ruby/object:Gem::Dependency
279
248
  name: chef-zero
280
249
  requirement: !ruby/object:Gem::Requirement
281
- none: false
282
250
  requirements:
283
- - - ~>
251
+ - - "~>"
284
252
  - !ruby/object:Gem::Version
285
253
  version: '1.7'
286
- - - ! '>='
254
+ - - ">="
287
255
  - !ruby/object:Gem::Version
288
256
  version: 1.7.2
289
257
  type: :runtime
290
258
  prerelease: false
291
259
  version_requirements: !ruby/object:Gem::Requirement
292
- none: false
293
260
  requirements:
294
- - - ~>
261
+ - - "~>"
295
262
  - !ruby/object:Gem::Version
296
263
  version: '1.7'
297
- - - ! '>='
264
+ - - ">="
298
265
  - !ruby/object:Gem::Version
299
266
  version: 1.7.2
300
267
  - !ruby/object:Gem::Dependency
301
268
  name: puma
302
269
  requirement: !ruby/object:Gem::Requirement
303
- none: false
304
270
  requirements:
305
- - - ~>
271
+ - - "~>"
306
272
  - !ruby/object:Gem::Version
307
273
  version: '1.6'
308
274
  type: :runtime
309
275
  prerelease: false
310
276
  version_requirements: !ruby/object:Gem::Requirement
311
- none: false
312
277
  requirements:
313
- - - ~>
278
+ - - "~>"
314
279
  - !ruby/object:Gem::Version
315
280
  version: '1.6'
316
281
  - !ruby/object:Gem::Dependency
317
282
  name: pry
318
283
  requirement: !ruby/object:Gem::Requirement
319
- none: false
320
284
  requirements:
321
- - - ~>
285
+ - - "~>"
322
286
  - !ruby/object:Gem::Version
323
287
  version: '0.9'
324
288
  type: :runtime
325
289
  prerelease: false
326
290
  version_requirements: !ruby/object:Gem::Requirement
327
- none: false
328
291
  requirements:
329
- - - ~>
292
+ - - "~>"
330
293
  - !ruby/object:Gem::Version
331
294
  version: '0.9'
332
295
  - !ruby/object:Gem::Dependency
333
296
  name: rake
334
297
  requirement: !ruby/object:Gem::Requirement
335
- none: false
336
298
  requirements:
337
- - - ! '>='
299
+ - - ">="
338
300
  - !ruby/object:Gem::Version
339
301
  version: '0'
340
302
  type: :development
341
303
  prerelease: false
342
304
  version_requirements: !ruby/object:Gem::Requirement
343
- none: false
344
305
  requirements:
345
- - - ! '>='
306
+ - - ">="
346
307
  - !ruby/object:Gem::Version
347
308
  version: '0'
348
309
  - !ruby/object:Gem::Dependency
349
310
  name: rack
350
311
  requirement: !ruby/object:Gem::Requirement
351
- none: false
352
312
  requirements:
353
- - - ! '>='
313
+ - - ">="
354
314
  - !ruby/object:Gem::Version
355
315
  version: '0'
356
316
  type: :development
357
317
  prerelease: false
358
318
  version_requirements: !ruby/object:Gem::Requirement
359
- none: false
360
319
  requirements:
361
- - - ! '>='
320
+ - - ">="
362
321
  - !ruby/object:Gem::Version
363
322
  version: '0'
364
323
  - !ruby/object:Gem::Dependency
365
324
  name: rspec_junit_formatter
366
325
  requirement: !ruby/object:Gem::Requirement
367
- none: false
368
326
  requirements:
369
- - - ! '>='
327
+ - - ">="
370
328
  - !ruby/object:Gem::Version
371
329
  version: '0'
372
330
  type: :development
373
331
  prerelease: false
374
332
  version_requirements: !ruby/object:Gem::Requirement
375
- none: false
376
333
  requirements:
377
- - - ! '>='
334
+ - - ">="
378
335
  - !ruby/object:Gem::Version
379
336
  version: '0'
380
337
  - !ruby/object:Gem::Dependency
381
338
  name: rspec-core
382
339
  requirement: !ruby/object:Gem::Requirement
383
- none: false
384
340
  requirements:
385
- - - ~>
341
+ - - "~>"
386
342
  - !ruby/object:Gem::Version
387
343
  version: 2.14.0
388
344
  type: :development
389
345
  prerelease: false
390
346
  version_requirements: !ruby/object:Gem::Requirement
391
- none: false
392
347
  requirements:
393
- - - ~>
348
+ - - "~>"
394
349
  - !ruby/object:Gem::Version
395
350
  version: 2.14.0
396
351
  - !ruby/object:Gem::Dependency
397
352
  name: rspec-expectations
398
353
  requirement: !ruby/object:Gem::Requirement
399
- none: false
400
354
  requirements:
401
- - - ~>
355
+ - - "~>"
402
356
  - !ruby/object:Gem::Version
403
357
  version: 2.14.0
404
358
  type: :development
405
359
  prerelease: false
406
360
  version_requirements: !ruby/object:Gem::Requirement
407
- none: false
408
361
  requirements:
409
- - - ~>
362
+ - - "~>"
410
363
  - !ruby/object:Gem::Version
411
364
  version: 2.14.0
412
365
  - !ruby/object:Gem::Dependency
413
366
  name: rspec-mocks
414
367
  requirement: !ruby/object:Gem::Requirement
415
- none: false
416
368
  requirements:
417
- - - ~>
369
+ - - "~>"
418
370
  - !ruby/object:Gem::Version
419
371
  version: 2.14.0
420
372
  type: :development
421
373
  prerelease: false
422
374
  version_requirements: !ruby/object:Gem::Requirement
423
- none: false
424
375
  requirements:
425
- - - ~>
376
+ - - "~>"
426
377
  - !ruby/object:Gem::Version
427
378
  version: 2.14.0
428
379
  description: A systems integration framework, built to bring the benefits of configuration
@@ -442,10 +393,18 @@ extra_rdoc_files:
442
393
  - CONTRIBUTING.md
443
394
  - LICENSE
444
395
  files:
445
- - Rakefile
396
+ - CONTRIBUTING.md
446
397
  - LICENSE
447
398
  - README.md
448
- - CONTRIBUTING.md
399
+ - Rakefile
400
+ - bin/chef-apply
401
+ - bin/chef-client
402
+ - bin/chef-service-manager
403
+ - bin/chef-shell
404
+ - bin/chef-solo
405
+ - bin/knife
406
+ - bin/shef
407
+ - distro/README
449
408
  - distro/arch/etc/conf.d/chef-client.conf
450
409
  - distro/arch/etc/conf.d/chef-expander.conf
451
410
  - distro/arch/etc/conf.d/chef-server-webui.conf
@@ -554,6 +513,7 @@ files:
554
513
  - distro/common/html/objects.inv
555
514
  - distro/common/html/search.html
556
515
  - distro/common/html/searchindex.js
516
+ - distro/common/man/man1/README.md
557
517
  - distro/common/man/man1/chef-shell.1
558
518
  - distro/common/man/man1/knife-bootstrap.1
559
519
  - distro/common/man/man1/knife-client.1
@@ -583,9 +543,9 @@ files:
583
543
  - distro/common/man/man1/knife-user.1
584
544
  - distro/common/man/man1/knife-xargs.1
585
545
  - distro/common/man/man1/knife.1
586
- - distro/common/man/man1/README.md
587
546
  - distro/common/man/man8/chef-client.8
588
547
  - distro/common/man/man8/chef-solo.8
548
+ - distro/common/markdown/README
589
549
  - distro/common/markdown/man1/chef-shell.mkd
590
550
  - distro/common/markdown/man1/knife-bootstrap.mkd
591
551
  - distro/common/markdown/man1/knife-client.mkd
@@ -610,23 +570,21 @@ files:
610
570
  - distro/common/markdown/man8/chef-server.mkd
611
571
  - distro/common/markdown/man8/chef-solo.mkd
612
572
  - distro/common/markdown/man8/chef-solr.mkd
613
- - distro/common/markdown/README
614
573
  - distro/debian/etc/default/chef-client
615
574
  - distro/debian/etc/default/chef-expander
616
575
  - distro/debian/etc/default/chef-server
617
576
  - distro/debian/etc/default/chef-server-webui
618
577
  - distro/debian/etc/default/chef-solr
619
- - distro/debian/etc/init/chef-client.conf
620
- - distro/debian/etc/init/chef-expander.conf
621
- - distro/debian/etc/init/chef-server-webui.conf
622
- - distro/debian/etc/init/chef-server.conf
623
- - distro/debian/etc/init/chef-solr.conf
624
578
  - distro/debian/etc/init.d/chef-client
625
579
  - distro/debian/etc/init.d/chef-expander
626
580
  - distro/debian/etc/init.d/chef-server
627
581
  - distro/debian/etc/init.d/chef-server-webui
628
582
  - distro/debian/etc/init.d/chef-solr
629
- - distro/README
583
+ - distro/debian/etc/init/chef-client.conf
584
+ - distro/debian/etc/init/chef-expander.conf
585
+ - distro/debian/etc/init/chef-server-webui.conf
586
+ - distro/debian/etc/init/chef-server.conf
587
+ - distro/debian/etc/init/chef-solr.conf
630
588
  - distro/redhat/etc/init.d/chef-client
631
589
  - distro/redhat/etc/init.d/chef-expander
632
590
  - distro/redhat/etc/init.d/chef-server
@@ -643,8 +601,10 @@ files:
643
601
  - distro/redhat/etc/sysconfig/chef-server-webui
644
602
  - distro/redhat/etc/sysconfig/chef-solr
645
603
  - distro/windows/service_manager.rb
646
- - lib/chef/api_client/registration.rb
604
+ - lib/chef.rb
647
605
  - lib/chef/api_client.rb
606
+ - lib/chef/api_client/registration.rb
607
+ - lib/chef/application.rb
648
608
  - lib/chef/application/agent.rb
649
609
  - lib/chef/application/apply.rb
650
610
  - lib/chef/application/client.rb
@@ -652,10 +612,10 @@ files:
652
612
  - lib/chef/application/solo.rb
653
613
  - lib/chef/application/windows_service.rb
654
614
  - lib/chef/application/windows_service_manager.rb
655
- - lib/chef/application.rb
656
615
  - lib/chef/applications.rb
657
- - lib/chef/checksum/storage/filesystem.rb
658
616
  - lib/chef/checksum/storage.rb
617
+ - lib/chef/checksum/storage/filesystem.rb
618
+ - lib/chef/chef_fs.rb
659
619
  - lib/chef/chef_fs/chef_fs_data_store.rb
660
620
  - lib/chef/chef_fs/command_line.rb
661
621
  - lib/chef/chef_fs/config.rb
@@ -671,6 +631,7 @@ files:
671
631
  - lib/chef/chef_fs/data_handler/role_data_handler.rb
672
632
  - lib/chef/chef_fs/data_handler/user_data_handler.rb
673
633
  - lib/chef/chef_fs/file_pattern.rb
634
+ - lib/chef/chef_fs/file_system.rb
674
635
  - lib/chef/chef_fs/file_system/acl_dir.rb
675
636
  - lib/chef/chef_fs/file_system/acl_entry.rb
676
637
  - lib/chef/chef_fs/file_system/acls_dir.rb
@@ -710,11 +671,9 @@ files:
710
671
  - lib/chef/chef_fs/file_system/operation_not_allowed_error.rb
711
672
  - lib/chef/chef_fs/file_system/rest_list_dir.rb
712
673
  - lib/chef/chef_fs/file_system/rest_list_entry.rb
713
- - lib/chef/chef_fs/file_system.rb
714
674
  - lib/chef/chef_fs/knife.rb
715
675
  - lib/chef/chef_fs/parallelizer.rb
716
676
  - lib/chef/chef_fs/path_utils.rb
717
- - lib/chef/chef_fs.rb
718
677
  - lib/chef/client.rb
719
678
  - lib/chef/config.rb
720
679
  - lib/chef/config_fetcher.rb
@@ -741,37 +700,39 @@ files:
741
700
  - lib/chef/deprecation/provider/template.rb
742
701
  - lib/chef/deprecation/warnings.rb
743
702
  - lib/chef/digester.rb
703
+ - lib/chef/dsl.rb
744
704
  - lib/chef/dsl/data_query.rb
745
705
  - lib/chef/dsl/include_attribute.rb
746
706
  - lib/chef/dsl/include_recipe.rb
747
707
  - lib/chef/dsl/platform_introspection.rb
708
+ - lib/chef/dsl/reboot_pending.rb
748
709
  - lib/chef/dsl/recipe.rb
749
710
  - lib/chef/dsl/registry_helper.rb
750
- - lib/chef/dsl.rb
711
+ - lib/chef/encrypted_data_bag_item.rb
751
712
  - lib/chef/encrypted_data_bag_item/decryption_failure.rb
752
713
  - lib/chef/encrypted_data_bag_item/decryptor.rb
753
714
  - lib/chef/encrypted_data_bag_item/encryptor.rb
754
715
  - lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
755
716
  - lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
756
717
  - lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
757
- - lib/chef/encrypted_data_bag_item.rb
758
718
  - lib/chef/environment.rb
759
719
  - lib/chef/event_dispatch/base.rb
760
720
  - lib/chef/event_dispatch/dispatcher.rb
761
721
  - lib/chef/exceptions.rb
722
+ - lib/chef/file_access_control.rb
762
723
  - lib/chef/file_access_control/unix.rb
763
724
  - lib/chef/file_access_control/windows.rb
764
- - lib/chef/file_access_control.rb
765
725
  - lib/chef/file_cache.rb
766
726
  - lib/chef/file_content_management/content_base.rb
727
+ - lib/chef/file_content_management/deploy.rb
767
728
  - lib/chef/file_content_management/deploy/cp.rb
768
729
  - lib/chef/file_content_management/deploy/mv_unix.rb
769
730
  - lib/chef/file_content_management/deploy/mv_windows.rb
770
- - lib/chef/file_content_management/deploy.rb
771
731
  - lib/chef/file_content_management/tempfile.rb
772
732
  - lib/chef/formatters/base.rb
773
733
  - lib/chef/formatters/doc.rb
774
734
  - lib/chef/formatters/error_descriptor.rb
735
+ - lib/chef/formatters/error_inspectors.rb
775
736
  - lib/chef/formatters/error_inspectors/api_error_formatting.rb
776
737
  - lib/chef/formatters/error_inspectors/compile_error_inspector.rb
777
738
  - lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
@@ -780,12 +741,12 @@ files:
780
741
  - lib/chef/formatters/error_inspectors/registration_error_inspector.rb
781
742
  - lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
782
743
  - lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
783
- - lib/chef/formatters/error_inspectors.rb
784
744
  - lib/chef/formatters/error_mapper.rb
785
745
  - lib/chef/formatters/minimal.rb
746
+ - lib/chef/handler.rb
786
747
  - lib/chef/handler/error_report.rb
787
748
  - lib/chef/handler/json_file.rb
788
- - lib/chef/handler.rb
749
+ - lib/chef/http.rb
789
750
  - lib/chef/http/auth_credentials.rb
790
751
  - lib/chef/http/authenticator.rb
791
752
  - lib/chef/http/basic_client.rb
@@ -796,11 +757,14 @@ files:
796
757
  - lib/chef/http/json_input.rb
797
758
  - lib/chef/http/json_output.rb
798
759
  - lib/chef/http/json_to_model_output.rb
760
+ - lib/chef/http/remote_request_id.rb
799
761
  - lib/chef/http/simple.rb
800
762
  - lib/chef/http/ssl_policies.rb
801
763
  - lib/chef/http/validate_content_length.rb
802
- - lib/chef/http.rb
803
764
  - lib/chef/json_compat.rb
765
+ - lib/chef/knife.rb
766
+ - lib/chef/knife/bootstrap.rb
767
+ - lib/chef/knife/bootstrap/README.md
804
768
  - lib/chef/knife/bootstrap/archlinux-gems.erb
805
769
  - lib/chef/knife/bootstrap/centos5-gems.erb
806
770
  - lib/chef/knife/bootstrap/chef-full.erb
@@ -808,7 +772,6 @@ files:
808
772
  - lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
809
773
  - lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
810
774
  - lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
811
- - lib/chef/knife/bootstrap.rb
812
775
  - lib/chef/knife/client_bulk_delete.rb
813
776
  - lib/chef/knife/client_create.rb
814
777
  - lib/chef/knife/client_delete.rb
@@ -902,13 +865,12 @@ files:
902
865
  - lib/chef/knife/user_reregister.rb
903
866
  - lib/chef/knife/user_show.rb
904
867
  - lib/chef/knife/xargs.rb
905
- - lib/chef/knife.rb
906
868
  - lib/chef/log.rb
907
869
  - lib/chef/mash.rb
908
870
  - lib/chef/mixin/checksum.rb
871
+ - lib/chef/mixin/command.rb
909
872
  - lib/chef/mixin/command/unix.rb
910
873
  - lib/chef/mixin/command/windows.rb
911
- - lib/chef/mixin/command.rb
912
874
  - lib/chef/mixin/convert_to_class_name.rb
913
875
  - lib/chef/mixin/create_path.rb
914
876
  - lib/chef/mixin/deep_merge.rb
@@ -943,35 +905,37 @@ files:
943
905
  - lib/chef/monkey_patches/uri.rb
944
906
  - lib/chef/monologger.rb
945
907
  - lib/chef/nil_argument.rb
908
+ - lib/chef/node.rb
946
909
  - lib/chef/node/attribute.rb
947
910
  - lib/chef/node/attribute_collections.rb
948
911
  - lib/chef/node/immutable_collections.rb
949
- - lib/chef/node.rb
912
+ - lib/chef/platform.rb
950
913
  - lib/chef/platform/provider_mapping.rb
951
914
  - lib/chef/platform/query_helpers.rb
952
- - lib/chef/platform.rb
915
+ - lib/chef/policy_builder.rb
953
916
  - lib/chef/policy_builder/expand_node_object.rb
954
917
  - lib/chef/policy_builder/policyfile.rb
955
- - lib/chef/policy_builder.rb
918
+ - lib/chef/provider.rb
956
919
  - lib/chef/provider/batch.rb
957
920
  - lib/chef/provider/breakpoint.rb
958
- - lib/chef/provider/cookbook_file/content.rb
959
921
  - lib/chef/provider/cookbook_file.rb
922
+ - lib/chef/provider/cookbook_file/content.rb
923
+ - lib/chef/provider/cron.rb
960
924
  - lib/chef/provider/cron/aix.rb
961
925
  - lib/chef/provider/cron/solaris.rb
962
926
  - lib/chef/provider/cron/unix.rb
963
- - lib/chef/provider/cron.rb
927
+ - lib/chef/provider/deploy.rb
964
928
  - lib/chef/provider/deploy/revision.rb
965
929
  - lib/chef/provider/deploy/timestamped.rb
966
- - lib/chef/provider/deploy.rb
967
930
  - lib/chef/provider/directory.rb
968
- - lib/chef/provider/env/windows.rb
969
931
  - lib/chef/provider/env.rb
932
+ - lib/chef/provider/env/windows.rb
970
933
  - lib/chef/provider/erl_call.rb
971
934
  - lib/chef/provider/execute.rb
972
- - lib/chef/provider/file/content.rb
973
935
  - lib/chef/provider/file.rb
936
+ - lib/chef/provider/file/content.rb
974
937
  - lib/chef/provider/git.rb
938
+ - lib/chef/provider/group.rb
975
939
  - lib/chef/provider/group/aix.rb
976
940
  - lib/chef/provider/group/dscl.rb
977
941
  - lib/chef/provider/group/gpasswd.rb
@@ -981,21 +945,21 @@ files:
981
945
  - lib/chef/provider/group/suse.rb
982
946
  - lib/chef/provider/group/usermod.rb
983
947
  - lib/chef/provider/group/windows.rb
984
- - lib/chef/provider/group.rb
985
948
  - lib/chef/provider/http_request.rb
949
+ - lib/chef/provider/ifconfig.rb
986
950
  - lib/chef/provider/ifconfig/aix.rb
987
951
  - lib/chef/provider/ifconfig/debian.rb
988
952
  - lib/chef/provider/ifconfig/redhat.rb
989
- - lib/chef/provider/ifconfig.rb
990
953
  - lib/chef/provider/link.rb
991
954
  - lib/chef/provider/log.rb
992
955
  - lib/chef/provider/lwrp_base.rb
993
956
  - lib/chef/provider/mdadm.rb
957
+ - lib/chef/provider/mount.rb
994
958
  - lib/chef/provider/mount/aix.rb
995
959
  - lib/chef/provider/mount/mount.rb
996
960
  - lib/chef/provider/mount/windows.rb
997
- - lib/chef/provider/mount.rb
998
961
  - lib/chef/provider/ohai.rb
962
+ - lib/chef/provider/package.rb
999
963
  - lib/chef/provider/package/aix.rb
1000
964
  - lib/chef/provider/package/apt.rb
1001
965
  - lib/chef/provider/package/dpkg.rb
@@ -1012,21 +976,21 @@ files:
1012
976
  - lib/chef/provider/package/yum-dump.py
1013
977
  - lib/chef/provider/package/yum.rb
1014
978
  - lib/chef/provider/package/zypper.rb
1015
- - lib/chef/provider/package.rb
1016
979
  - lib/chef/provider/powershell_script.rb
1017
980
  - lib/chef/provider/registry_key.rb
1018
981
  - lib/chef/provider/remote_directory.rb
982
+ - lib/chef/provider/remote_file.rb
1019
983
  - lib/chef/provider/remote_file/cache_control_data.rb
1020
984
  - lib/chef/provider/remote_file/content.rb
1021
985
  - lib/chef/provider/remote_file/fetcher.rb
1022
986
  - lib/chef/provider/remote_file/ftp.rb
1023
987
  - lib/chef/provider/remote_file/http.rb
1024
988
  - lib/chef/provider/remote_file/local_file.rb
1025
- - lib/chef/provider/remote_file.rb
1026
989
  - lib/chef/provider/resource_update.rb
1027
990
  - lib/chef/provider/route.rb
1028
991
  - lib/chef/provider/ruby_block.rb
1029
992
  - lib/chef/provider/script.rb
993
+ - lib/chef/provider/service.rb
1030
994
  - lib/chef/provider/service/arch.rb
1031
995
  - lib/chef/provider/service/debian.rb
1032
996
  - lib/chef/provider/service/freebsd.rb
@@ -1041,23 +1005,23 @@ files:
1041
1005
  - lib/chef/provider/service/systemd.rb
1042
1006
  - lib/chef/provider/service/upstart.rb
1043
1007
  - lib/chef/provider/service/windows.rb
1044
- - lib/chef/provider/service.rb
1045
1008
  - lib/chef/provider/subversion.rb
1046
- - lib/chef/provider/template/content.rb
1047
1009
  - lib/chef/provider/template.rb
1010
+ - lib/chef/provider/template/content.rb
1048
1011
  - lib/chef/provider/template_finder.rb
1012
+ - lib/chef/provider/user.rb
1049
1013
  - lib/chef/provider/user/dscl.rb
1050
1014
  - lib/chef/provider/user/pw.rb
1051
1015
  - lib/chef/provider/user/solaris.rb
1052
1016
  - lib/chef/provider/user/useradd.rb
1053
1017
  - lib/chef/provider/user/windows.rb
1054
- - lib/chef/provider/user.rb
1055
1018
  - lib/chef/provider/whyrun_safe_ruby_block.rb
1056
1019
  - lib/chef/provider/windows_script.rb
1057
- - lib/chef/provider.rb
1058
1020
  - lib/chef/providers.rb
1059
1021
  - lib/chef/recipe.rb
1022
+ - lib/chef/request_id.rb
1060
1023
  - lib/chef/reserved_names.rb
1024
+ - lib/chef/resource.rb
1061
1025
  - lib/chef/resource/apt_package.rb
1062
1026
  - lib/chef/resource/bash.rb
1063
1027
  - lib/chef/resource/batch.rb
@@ -1117,9 +1081,8 @@ files:
1117
1081
  - lib/chef/resource/whyrun_safe_ruby_block.rb
1118
1082
  - lib/chef/resource/windows_script.rb
1119
1083
  - lib/chef/resource/yum_package.rb
1120
- - lib/chef/resource.rb
1121
- - lib/chef/resource_collection/stepable_iterator.rb
1122
1084
  - lib/chef/resource_collection.rb
1085
+ - lib/chef/resource_collection/stepable_iterator.rb
1123
1086
  - lib/chef/resource_definition.rb
1124
1087
  - lib/chef/resource_definition_list.rb
1125
1088
  - lib/chef/resource_platform_map.rb
@@ -1127,12 +1090,12 @@ files:
1127
1090
  - lib/chef/resources.rb
1128
1091
  - lib/chef/rest.rb
1129
1092
  - lib/chef/role.rb
1130
- - lib/chef/run_context/cookbook_compiler.rb
1131
1093
  - lib/chef/run_context.rb
1094
+ - lib/chef/run_context/cookbook_compiler.rb
1095
+ - lib/chef/run_list.rb
1132
1096
  - lib/chef/run_list/run_list_expansion.rb
1133
1097
  - lib/chef/run_list/run_list_item.rb
1134
1098
  - lib/chef/run_list/versioned_recipe_list.rb
1135
- - lib/chef/run_list.rb
1136
1099
  - lib/chef/run_lock.rb
1137
1100
  - lib/chef/run_status.rb
1138
1101
  - lib/chef/runner.rb
@@ -1141,11 +1104,11 @@ files:
1141
1104
  - lib/chef/search/query.rb
1142
1105
  - lib/chef/server_api.rb
1143
1106
  - lib/chef/shef/ext.rb
1107
+ - lib/chef/shell.rb
1144
1108
  - lib/chef/shell/ext.rb
1145
1109
  - lib/chef/shell/model_wrapper.rb
1146
1110
  - lib/chef/shell/shell_rest.rb
1147
1111
  - lib/chef/shell/shell_session.rb
1148
- - lib/chef/shell.rb
1149
1112
  - lib/chef/shell_out.rb
1150
1113
  - lib/chef/streaming_cookbook_uploader.rb
1151
1114
  - lib/chef/tasks/chef_repo.rake
@@ -1154,16 +1117,17 @@ files:
1154
1117
  - lib/chef/util/diff.rb
1155
1118
  - lib/chef/util/file_edit.rb
1156
1119
  - lib/chef/util/selinux.rb
1120
+ - lib/chef/util/windows.rb
1157
1121
  - lib/chef/util/windows/net_group.rb
1158
1122
  - lib/chef/util/windows/net_use.rb
1159
1123
  - lib/chef/util/windows/net_user.rb
1160
1124
  - lib/chef/util/windows/volume.rb
1161
- - lib/chef/util/windows.rb
1162
- - lib/chef/version/platform.rb
1163
1125
  - lib/chef/version.rb
1126
+ - lib/chef/version/platform.rb
1164
1127
  - lib/chef/version_class.rb
1165
- - lib/chef/version_constraint/platform.rb
1166
1128
  - lib/chef/version_constraint.rb
1129
+ - lib/chef/version_constraint/platform.rb
1130
+ - lib/chef/win32/api.rb
1167
1131
  - lib/chef/win32/api/error.rb
1168
1132
  - lib/chef/win32/api/file.rb
1169
1133
  - lib/chef/win32/api/memory.rb
@@ -1173,26 +1137,23 @@ files:
1173
1137
  - lib/chef/win32/api/synchronization.rb
1174
1138
  - lib/chef/win32/api/system.rb
1175
1139
  - lib/chef/win32/api/unicode.rb
1176
- - lib/chef/win32/api.rb
1177
1140
  - lib/chef/win32/error.rb
1178
- - lib/chef/win32/file/info.rb
1179
1141
  - lib/chef/win32/file.rb
1142
+ - lib/chef/win32/file/info.rb
1180
1143
  - lib/chef/win32/handle.rb
1181
1144
  - lib/chef/win32/memory.rb
1182
1145
  - lib/chef/win32/mutex.rb
1183
1146
  - lib/chef/win32/process.rb
1184
1147
  - lib/chef/win32/registry.rb
1148
+ - lib/chef/win32/security.rb
1185
1149
  - lib/chef/win32/security/ace.rb
1186
1150
  - lib/chef/win32/security/acl.rb
1187
1151
  - lib/chef/win32/security/securable_object.rb
1188
1152
  - lib/chef/win32/security/security_descriptor.rb
1189
1153
  - lib/chef/win32/security/sid.rb
1190
1154
  - lib/chef/win32/security/token.rb
1191
- - lib/chef/win32/security.rb
1192
1155
  - lib/chef/win32/unicode.rb
1193
1156
  - lib/chef/win32/version.rb
1194
- - lib/chef.rb
1195
- - tasks/rspec.rb
1196
1157
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1197
1158
  - spec/data/apt/chef-integration-test-1.0/debian/compat
1198
1159
  - spec/data/apt/chef-integration-test-1.0/debian/control
@@ -1222,11 +1183,11 @@ files:
1222
1183
  - spec/data/apt/var/www/apt/db/references.db
1223
1184
  - spec/data/apt/var/www/apt/db/release.caches.db
1224
1185
  - spec/data/apt/var/www/apt/db/version
1186
+ - spec/data/apt/var/www/apt/dists/sid/Release
1225
1187
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
1226
1188
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
1227
1189
  - spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
1228
1190
  - spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
1229
- - spec/data/apt/var/www/apt/dists/sid/Release
1230
1191
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
1231
1192
  - spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
1232
1193
  - spec/data/bad-config.rb
@@ -1237,12 +1198,12 @@ files:
1237
1198
  - spec/data/bootstrap/secret.erb
1238
1199
  - spec/data/bootstrap/test-hints.erb
1239
1200
  - spec/data/bootstrap/test.erb
1201
+ - spec/data/cb_version_cookbooks/tatft/README.rdoc
1240
1202
  - spec/data/cb_version_cookbooks/tatft/attributes/default.rb
1241
1203
  - spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
1242
1204
  - spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
1243
1205
  - spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
1244
1206
  - spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
1245
- - spec/data/cb_version_cookbooks/tatft/README.rdoc
1246
1207
  - spec/data/cb_version_cookbooks/tatft/recipes/default.rb
1247
1208
  - spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
1248
1209
  - spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
@@ -1394,16 +1355,6 @@ files:
1394
1355
  - spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
1395
1356
  - spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
1396
1357
  - spec/data/run_context/cookbooks/no-default-attr/resources/resource.rb
1397
- - spec/data/run_context/cookbooks/test/attributes/default.rb
1398
- - spec/data/run_context/cookbooks/test/attributes/george.rb
1399
- - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1400
- - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1401
- - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1402
- - spec/data/run_context/cookbooks/test/providers/provider.rb
1403
- - spec/data/run_context/cookbooks/test/recipes/default.rb
1404
- - spec/data/run_context/cookbooks/test/recipes/one.rb
1405
- - spec/data/run_context/cookbooks/test/recipes/two.rb
1406
- - spec/data/run_context/cookbooks/test/resources/resource.rb
1407
1358
  - spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
1408
1359
  - spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
1409
1360
  - spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
@@ -1419,6 +1370,16 @@ files:
1419
1370
  - spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
1420
1371
  - spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
1421
1372
  - spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
1373
+ - spec/data/run_context/cookbooks/test/attributes/default.rb
1374
+ - spec/data/run_context/cookbooks/test/attributes/george.rb
1375
+ - spec/data/run_context/cookbooks/test/definitions/new_animals.rb
1376
+ - spec/data/run_context/cookbooks/test/definitions/new_cat.rb
1377
+ - spec/data/run_context/cookbooks/test/definitions/test_res.rb
1378
+ - spec/data/run_context/cookbooks/test/providers/provider.rb
1379
+ - spec/data/run_context/cookbooks/test/recipes/default.rb
1380
+ - spec/data/run_context/cookbooks/test/recipes/one.rb
1381
+ - spec/data/run_context/cookbooks/test/recipes/two.rb
1382
+ - spec/data/run_context/cookbooks/test/resources/resource.rb
1422
1383
  - spec/data/run_context/nodes/run_context.rb
1423
1384
  - spec/data/search_queries_to_transform.txt
1424
1385
  - spec/data/shef-config.rb
@@ -1433,12 +1394,13 @@ files:
1433
1394
  - spec/data/trusted_certs/intermediate.pem
1434
1395
  - spec/data/trusted_certs/opscode.pem
1435
1396
  - spec/data/trusted_certs/root.pem
1397
+ - spec/functional/assets/PkgA.1.0.0.0.bff
1398
+ - spec/functional/assets/PkgA.2.0.0.0.bff
1436
1399
  - spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
1437
1400
  - spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
1438
1401
  - spec/functional/assets/mytest-1.0-1.noarch.rpm
1439
1402
  - spec/functional/assets/mytest-2.0-1.noarch.rpm
1440
- - spec/functional/assets/PkgA.1.0.0.0.bff
1441
- - spec/functional/assets/PkgA.2.0.0.0.bff
1403
+ - spec/functional/dsl/reboot_pending_spec.rb
1442
1404
  - spec/functional/dsl/registry_helper_spec.rb
1443
1405
  - spec/functional/file_content_management/deploy_strategies_spec.rb
1444
1406
  - spec/functional/knife/cookbook_delete_spec.rb
@@ -1459,6 +1421,7 @@ files:
1459
1421
  - spec/functional/resource/ifconfig_spec.rb
1460
1422
  - spec/functional/resource/link_spec.rb
1461
1423
  - spec/functional/resource/mount_spec.rb
1424
+ - spec/functional/resource/ohai_spec.rb
1462
1425
  - spec/functional/resource/package_spec.rb
1463
1426
  - spec/functional/resource/powershell_spec.rb
1464
1427
  - spec/functional/resource/registry_spec.rb
@@ -1566,6 +1529,7 @@ files:
1566
1529
  - spec/unit/digester_spec.rb
1567
1530
  - spec/unit/dsl/data_query_spec.rb
1568
1531
  - spec/unit/dsl/platform_introspection_spec.rb
1532
+ - spec/unit/dsl/reboot_pending_spec.rb
1569
1533
  - spec/unit/dsl/recipe_spec.rb
1570
1534
  - spec/unit/dsl/regsitry_helper_spec.rb
1571
1535
  - spec/unit/encrypted_data_bag_item_spec.rb
@@ -1867,36 +1831,29 @@ files:
1867
1831
  - spec/unit/version_constraint/platform_spec.rb
1868
1832
  - spec/unit/version_constraint_spec.rb
1869
1833
  - spec/unit/windows_service_spec.rb
1870
- - bin/chef-client
1871
- - bin/chef-solo
1872
- - bin/knife
1873
- - bin/chef-shell
1874
- - bin/shef
1875
- - bin/chef-apply
1876
- - bin/chef-service-manager
1834
+ - tasks/rspec.rb
1877
1835
  homepage: http://wiki.opscode.com/display/chef
1878
1836
  licenses: []
1837
+ metadata: {}
1879
1838
  post_install_message:
1880
1839
  rdoc_options: []
1881
1840
  require_paths:
1882
1841
  - lib
1883
1842
  required_ruby_version: !ruby/object:Gem::Requirement
1884
- none: false
1885
1843
  requirements:
1886
- - - ! '>='
1844
+ - - ">="
1887
1845
  - !ruby/object:Gem::Version
1888
1846
  version: '0'
1889
1847
  required_rubygems_version: !ruby/object:Gem::Requirement
1890
- none: false
1891
1848
  requirements:
1892
- - - ! '>='
1849
+ - - ">"
1893
1850
  - !ruby/object:Gem::Version
1894
- version: '0'
1851
+ version: 1.3.1
1895
1852
  requirements: []
1896
1853
  rubyforge_project:
1897
- rubygems_version: 1.8.23
1854
+ rubygems_version: 2.2.2
1898
1855
  signing_key:
1899
- specification_version: 3
1856
+ specification_version: 4
1900
1857
  summary: A systems integration framework, built to bring the benefits of configuration
1901
1858
  management to your entire infrastructure.
1902
1859
  test_files: []