chef 11.14.0.alpha.4 → 11.14.0.rc.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CONTRIBUTING.md +0 -4
- data/README.md +1 -1
- data/distro/common/man/man1/chef-shell.1 +4 -4
- data/distro/common/man/man1/knife-bootstrap.1 +14 -11
- data/distro/common/man/man1/knife-client.1 +14 -11
- data/distro/common/man/man1/knife-configure.1 +7 -7
- data/distro/common/man/man1/knife-cookbook-site.1 +23 -23
- data/distro/common/man/man1/knife-cookbook.1 +23 -23
- data/distro/common/man/man1/knife-data-bag.1 +13 -13
- data/distro/common/man/man1/knife-delete.1 +9 -9
- data/distro/common/man/man1/knife-deps.1 +9 -9
- data/distro/common/man/man1/knife-diff.1 +10 -10
- data/distro/common/man/man1/knife-download.1 +9 -9
- data/distro/common/man/man1/knife-edit.1 +7 -7
- data/distro/common/man/man1/knife-environment.1 +10 -10
- data/distro/common/man/man1/knife-exec.1 +7 -7
- data/distro/common/man/man1/knife-index-rebuild.1 +1 -1
- data/distro/common/man/man1/knife-list.1 +12 -12
- data/distro/common/man/man1/knife-node.1 +12 -9
- data/distro/common/man/man1/knife-raw.1 +7 -7
- data/distro/common/man/man1/knife-recipe-list.1 +1 -1
- data/distro/common/man/man1/knife-role.1 +8 -8
- data/distro/common/man/man1/knife-search.1 +9 -9
- data/distro/common/man/man1/knife-serve.1 +109 -0
- data/distro/common/man/man1/knife-show.1 +8 -8
- data/distro/common/man/man1/knife-ssh.1 +9 -9
- data/distro/common/man/man1/knife-ssl-check.1 +9 -9
- data/distro/common/man/man1/knife-ssl-fetch.1 +10 -10
- data/distro/common/man/man1/knife-status.1 +9 -9
- data/distro/common/man/man1/knife-tag.1 +7 -7
- data/distro/common/man/man1/knife-upload.1 +10 -10
- data/distro/common/man/man1/knife-user.1 +9 -9
- data/distro/common/man/man1/knife-xargs.1 +7 -7
- data/distro/common/man/man1/knife.1 +118 -14
- data/distro/common/man/man8/chef-client.8 +13 -10
- data/distro/common/man/man8/chef-solo.8 +13 -14
- data/distro/common/markdown/man1/knife.mkd +1 -1
- data/lib/chef/application/knife.rb +1 -1
- data/lib/chef/application/windows_service.rb +0 -1
- data/lib/chef/chef_fs/file_system.rb +6 -2
- data/lib/chef/config.rb +3 -2
- data/lib/chef/config_fetcher.rb +1 -1
- data/lib/chef/cookbook/metadata.rb +20 -14
- data/lib/chef/cookbook/synchronizer.rb +24 -13
- data/lib/chef/encrypted_data_bag_item/decryptor.rb +3 -3
- data/lib/chef/encrypted_data_bag_item/encryptor.rb +2 -2
- data/lib/chef/exceptions.rb +1 -0
- data/lib/chef/file_content_management/deploy/mv_windows.rb +1 -1
- data/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb +1 -1
- data/lib/chef/http.rb +6 -1
- data/lib/chef/http/http_request.rb +9 -1
- data/lib/chef/http/simple.rb +2 -1
- data/lib/chef/json_compat.rb +5 -16
- data/lib/chef/knife/bootstrap.rb +2 -0
- data/lib/chef/knife/bootstrap/archlinux-gems.erb +2 -2
- data/lib/chef/knife/core/object_loader.rb +3 -1
- data/lib/chef/knife/ssh.rb +14 -7
- data/lib/chef/mixin/convert_to_class_name.rb +1 -0
- data/lib/chef/mixin/windows_architecture_helper.rb +24 -4
- data/lib/chef/platform/provider_mapping.rb +13 -0
- data/lib/chef/provider/env/windows.rb +3 -6
- data/lib/chef/provider/git.rb +1 -2
- data/lib/chef/provider/log.rb +15 -1
- data/lib/chef/provider/package/apt.rb +3 -3
- data/lib/chef/provider/package/dpkg.rb +35 -16
- data/lib/chef/provider/package/paludis.rb +91 -0
- data/lib/chef/provider/package/rpm.rb +3 -2
- data/lib/chef/provider/package/yum-dump.py +6 -6
- data/lib/chef/provider/package/yum.rb +2 -0
- data/lib/chef/provider/registry_key.rb +4 -5
- data/lib/chef/provider/remote_file/cache_control_data.rb +1 -1
- data/lib/chef/provider/service/solaris.rb +1 -1
- data/lib/chef/provider/service/upstart.rb +2 -1
- data/lib/chef/provider/service/windows.rb +37 -9
- data/lib/chef/provider/user/pw.rb +1 -1
- data/lib/chef/provider/user/useradd.rb +1 -1
- data/lib/chef/provider/windows_script.rb +2 -1
- data/lib/chef/providers.rb +1 -0
- data/lib/chef/resource.rb +10 -0
- data/lib/chef/resource/file.rb +0 -9
- data/lib/chef/resource/package.rb +14 -4
- data/lib/chef/resource/paludis_package.rb +33 -0
- data/lib/chef/resource/registry_key.rb +62 -3
- data/lib/chef/resource/service.rb +21 -4
- data/lib/chef/resource_reporter.rb +10 -0
- data/lib/chef/resources.rb +1 -0
- data/lib/chef/role.rb +14 -10
- data/lib/chef/shell.rb +8 -0
- data/lib/chef/shell/shell_session.rb +3 -3
- data/lib/chef/user.rb +12 -11
- data/lib/chef/util/selinux.rb +1 -1
- data/lib/chef/version.rb +1 -1
- data/lib/chef/version_constraint.rb +6 -5
- data/lib/chef/win32/api/process.rb +1 -0
- data/lib/chef/win32/api/system.rb +14 -0
- data/lib/chef/win32/error.rb +1 -1
- data/lib/chef/win32/security.rb +5 -5
- data/lib/chef/win32/version.rb +6 -2
- data/spec/data/trusted_certs/opscode.pem +57 -35
- data/spec/functional/application_spec.rb +2 -2
- data/spec/functional/resource/mount_spec.rb +3 -1
- data/spec/functional/shell_spec.rb +10 -0
- data/spec/functional/tiny_server_spec.rb +2 -2
- data/spec/support/chef_helpers.rb +1 -1
- data/spec/support/shared/functional/securable_resource.rb +11 -2
- data/spec/support/shared/functional/securable_resource_with_reporting.rb +13 -2
- data/spec/tiny_server.rb +1 -1
- data/spec/unit/config_spec.rb +5 -0
- data/spec/unit/cookbook/metadata_spec.rb +24 -0
- data/spec/unit/environment_spec.rb +6 -0
- data/spec/unit/http/http_request_spec.rb +91 -0
- data/spec/unit/http_spec.rb +23 -0
- data/spec/unit/knife/bootstrap_spec.rb +2 -2
- data/spec/unit/knife/ssh_spec.rb +7 -13
- data/spec/unit/knife_spec.rb +1 -1
- data/spec/unit/mixin/convert_to_class_name_spec.rb +4 -0
- data/spec/unit/provider/git_spec.rb +2 -2
- data/spec/unit/provider/log_spec.rb +18 -0
- data/spec/unit/provider/mount/solaris_spec.rb +3 -1
- data/spec/unit/provider/package/apt_spec.rb +85 -40
- data/spec/unit/provider/package/dpkg_spec.rb +24 -48
- data/spec/unit/provider/package/paludis_spec.rb +135 -0
- data/spec/unit/provider/package/rpm_spec.rb +40 -32
- data/spec/unit/provider/package/yum_spec.rb +11 -4
- data/spec/unit/provider/registry_key_spec.rb +67 -53
- data/spec/unit/provider/remote_file/cache_control_data_spec.rb +10 -1
- data/spec/unit/provider/service/solaris_smf_service_spec.rb +23 -2
- data/spec/unit/provider/service/upstart_service_spec.rb +7 -0
- data/spec/unit/provider/service/windows_spec.rb +72 -0
- data/spec/unit/provider/user/pw_spec.rb +21 -4
- data/spec/unit/provider/user/useradd_spec.rb +10 -0
- data/spec/unit/resource/package_spec.rb +26 -18
- data/spec/unit/resource/registry_key_spec.rb +28 -0
- data/spec/unit/resource/service_spec.rb +14 -0
- data/spec/unit/resource_reporter_spec.rb +37 -12
- data/spec/unit/resource_spec.rb +41 -6
- data/spec/unit/rest_spec.rb +2 -2
- data/spec/unit/role_spec.rb +46 -28
- data/spec/unit/shell/shell_session_spec.rb +42 -2
- data/spec/unit/shell_spec.rb +1 -1
- data/spec/unit/user_spec.rb +12 -0
- data/spec/unit/util/selinux_spec.rb +4 -4
- data/spec/unit/version_constraint_spec.rb +14 -2
- metadata +195 -161
- checksums.yaml +0 -7
data/spec/unit/rest_spec.rb
CHANGED
@@ -247,9 +247,9 @@ describe Chef::REST do
|
|
247
247
|
http_response
|
248
248
|
end
|
249
249
|
|
250
|
-
let(:host_header) { "one
|
250
|
+
let(:host_header) { "one" }
|
251
251
|
|
252
|
-
let(:url) { URI.parse("
|
252
|
+
let(:url) { URI.parse("http://one:80/?foo=bar") }
|
253
253
|
|
254
254
|
let(:base_url) { "http://chef.example.com:4000" }
|
255
255
|
|
data/spec/unit/role_spec.rb
CHANGED
@@ -256,26 +256,46 @@ EOR
|
|
256
256
|
end
|
257
257
|
|
258
258
|
it "should return a Chef::Role object from JSON" do
|
259
|
-
|
260
|
-
|
259
|
+
Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes", "#{Chef::Config[:role_path]}/memes/lolcat.json"])
|
260
|
+
file_path = File.join(Chef::Config[:role_path], 'memes/lolcat.json')
|
261
|
+
File.should_receive(:exists?).with(file_path).exactly(1).times.and_return(true)
|
262
|
+
IO.should_receive(:read).with(file_path).and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
|
261
263
|
@role.should be_a_kind_of(Chef::Role)
|
262
264
|
@role.class.from_disk("lolcat")
|
263
265
|
end
|
264
266
|
|
265
267
|
it "should return a Chef::Role object from a Ruby DSL" do
|
266
|
-
|
267
|
-
File.
|
268
|
-
File.should_receive(:
|
269
|
-
|
268
|
+
Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes", "#{Chef::Config[:role_path]}/memes/lolcat.rb"])
|
269
|
+
rb_path = File.join(Chef::Config[:role_path], 'memes/lolcat.rb')
|
270
|
+
File.should_receive(:exists?).with(rb_path).exactly(2).times.and_return(true)
|
271
|
+
File.should_receive(:readable?).with(rb_path).exactly(1).times.and_return(true)
|
272
|
+
IO.should_receive(:read).with(rb_path).and_return(ROLE_DSL)
|
273
|
+
@role.should be_a_kind_of(Chef::Role)
|
274
|
+
@role.class.from_disk("lolcat")
|
275
|
+
end
|
276
|
+
|
277
|
+
it "should prefer a Chef::Role Object from JSON over one from a Ruby DSL" do
|
278
|
+
Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes", "#{Chef::Config[:role_path]}/memes/lolcat.json", "#{Chef::Config[:role_path]}/memes/lolcat.rb"])
|
279
|
+
js_path = File.join(Chef::Config[:role_path], 'memes/lolcat.json')
|
280
|
+
rb_path = File.join(Chef::Config[:role_path], 'memes/lolcat.rb')
|
281
|
+
File.should_receive(:exists?).with(js_path).exactly(1).times.and_return(true)
|
282
|
+
File.should_not_receive(:exists?).with(rb_path)
|
283
|
+
IO.should_receive(:read).with(js_path).and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
|
270
284
|
@role.should be_a_kind_of(Chef::Role)
|
271
285
|
@role.class.from_disk("lolcat")
|
272
286
|
end
|
273
287
|
|
274
288
|
it "should raise an exception if the file does not exist" do
|
275
|
-
|
276
|
-
File.
|
289
|
+
Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/meme.rb"])
|
290
|
+
File.should_not_receive(:exists?)
|
277
291
|
lambda {@role.class.from_disk("lolcat")}.should raise_error(Chef::Exceptions::RoleNotFound)
|
278
292
|
end
|
293
|
+
|
294
|
+
it "should raise an exception if two files exist with the same name" do
|
295
|
+
Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes/lolcat.rb", "#{Chef::Config[:role_path]}/lolcat.rb"])
|
296
|
+
File.should_not_receive(:exists?)
|
297
|
+
lambda {@role.class.from_disk("lolcat")}.should raise_error(Chef::Exceptions::DuplicateRole)
|
298
|
+
end
|
279
299
|
end
|
280
300
|
|
281
301
|
describe "when loading from disk and role_path is an array" do
|
@@ -285,46 +305,44 @@ EOR
|
|
285
305
|
end
|
286
306
|
|
287
307
|
it "should return a Chef::Role object from JSON" do
|
288
|
-
|
289
|
-
|
308
|
+
Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return(['/path1/lolcat.json'])
|
309
|
+
File.should_receive(:exists?).with('/path1/lolcat.json').exactly(1).times.and_return(true)
|
310
|
+
IO.should_receive(:read).with('/path1/lolcat.json').and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
|
290
311
|
@role.should be_a_kind_of(Chef::Role)
|
291
312
|
@role.class.from_disk("lolcat")
|
292
313
|
end
|
293
314
|
|
294
315
|
it "should return a Chef::Role object from JSON when role is in the second path" do
|
295
|
-
|
296
|
-
|
297
|
-
File.should_receive(:exists?).with(
|
298
|
-
IO.should_receive(:read).with(
|
316
|
+
Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return([])
|
317
|
+
Dir.should_receive(:glob).with(File.join('/path/path2', '**', '**')).exactly(1).times.and_return(['/path/path2/lolcat.json'])
|
318
|
+
File.should_receive(:exists?).with('/path/path2/lolcat.json').exactly(1).times.and_return(true)
|
319
|
+
IO.should_receive(:read).with('/path/path2/lolcat.json').and_return('{"name": "ceiling_cat", "json_class": "Chef::Role" }')
|
299
320
|
@role.should be_a_kind_of(Chef::Role)
|
300
321
|
@role.class.from_disk("lolcat")
|
301
322
|
end
|
302
323
|
|
303
324
|
it "should return a Chef::Role object from a Ruby DSL" do
|
304
|
-
|
305
|
-
File.should_receive(:exists?).with(
|
306
|
-
File.should_receive(:readable?).with(
|
307
|
-
IO.should_receive(:read).with(
|
325
|
+
Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return(['/path1/lolcat.rb'])
|
326
|
+
File.should_receive(:exists?).with('/path1/lolcat.rb').exactly(2).times.and_return(true)
|
327
|
+
File.should_receive(:readable?).with('/path1/lolcat.rb').and_return(true)
|
328
|
+
IO.should_receive(:read).with('/path1/lolcat.rb').exactly(1).times.and_return(ROLE_DSL)
|
308
329
|
@role.should be_a_kind_of(Chef::Role)
|
309
330
|
@role.class.from_disk("lolcat")
|
310
331
|
end
|
311
332
|
|
312
333
|
it "should return a Chef::Role object from a Ruby DSL when role is in the second path" do
|
313
|
-
|
314
|
-
|
315
|
-
File.should_receive(:exists?).with(
|
316
|
-
File.should_receive(:
|
317
|
-
|
318
|
-
IO.should_receive(:read).with(File.join('/path/path2', 'lolcat.rb')).and_return(ROLE_DSL)
|
334
|
+
Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return([])
|
335
|
+
Dir.should_receive(:glob).with(File.join('/path/path2', '**', '**')).exactly(1).times.and_return(['/path/path2/lolcat.rb'])
|
336
|
+
File.should_receive(:exists?).with('/path/path2/lolcat.rb').exactly(2).times.and_return(true)
|
337
|
+
File.should_receive(:readable?).with('/path/path2/lolcat.rb').and_return(true)
|
338
|
+
IO.should_receive(:read).with('/path/path2/lolcat.rb').exactly(1).times.and_return(ROLE_DSL)
|
319
339
|
@role.should be_a_kind_of(Chef::Role)
|
320
340
|
@role.class.from_disk("lolcat")
|
321
341
|
end
|
322
342
|
|
323
343
|
it "should raise an exception if the file does not exist" do
|
324
|
-
|
325
|
-
|
326
|
-
File.should_receive(:exists?).with(File.join('/path/path2', 'lolcat.json')).exactly(1).times.and_return(false)
|
327
|
-
File.should_receive(:exists?).with(File.join('/path/path2', 'lolcat.rb')).exactly(1).times.and_return(false)
|
344
|
+
Dir.should_receive(:glob).with(File.join('/path1', '**', '**')).exactly(1).times.and_return([])
|
345
|
+
Dir.should_receive(:glob).with(File.join('/path/path2', '**', '**')).exactly(1).times.and_return([])
|
328
346
|
lambda {@role.class.from_disk("lolcat")}.should raise_error(Chef::Exceptions::RoleNotFound)
|
329
347
|
end
|
330
348
|
|
@@ -48,20 +48,37 @@ describe Shell::ShellSession do
|
|
48
48
|
end
|
49
49
|
|
50
50
|
describe Shell::ClientSession do
|
51
|
-
|
51
|
+
before do
|
52
|
+
Chef::Config[:shell_config] = { :override_runlist => [Chef::RunList::RunListItem.new('shell::override')] }
|
52
53
|
@session = Shell::ClientSession.instance
|
53
54
|
@node = Chef::Node.build("foo")
|
54
55
|
@session.node = @node
|
55
|
-
@
|
56
|
+
@client = double("Chef::Client.new",
|
57
|
+
:run_ohai => true,
|
58
|
+
:load_node => true,
|
59
|
+
:build_node => true,
|
60
|
+
:register => true,
|
61
|
+
:sync_cookbooks => {})
|
62
|
+
end
|
63
|
+
|
64
|
+
it "builds the node's run_context with the proper environment" do
|
65
|
+
@session.instance_variable_set(:@client, @client)
|
56
66
|
@expansion = Chef::RunList::RunListExpansion.new(@node.chef_environment, [])
|
57
67
|
|
58
68
|
@node.run_list.should_receive(:expand).with(@node.chef_environment).and_return(@expansion)
|
59
69
|
@session.rebuild_context
|
60
70
|
end
|
71
|
+
|
72
|
+
it "passes the shell CLI args to the client" do
|
73
|
+
Chef::Client.should_receive(:new).with(nil, Chef::Config[:shell_config]).and_return(@client)
|
74
|
+
@session.send(:rebuild_node)
|
75
|
+
end
|
76
|
+
|
61
77
|
end
|
62
78
|
|
63
79
|
describe Shell::StandAloneSession do
|
64
80
|
before do
|
81
|
+
Chef::Config[:shell_config] = { :override_runlist => [Chef::RunList::RunListItem.new('shell::override')] }
|
65
82
|
@session = Shell::StandAloneSession.instance
|
66
83
|
@node = @session.node = Chef::Node.new
|
67
84
|
@events = Chef::EventDispatch::Dispatcher.new
|
@@ -97,10 +114,22 @@ describe Shell::StandAloneSession do
|
|
97
114
|
@recipe.run_chef.should == :converged
|
98
115
|
end
|
99
116
|
|
117
|
+
it "passes the shell CLI args to the client" do
|
118
|
+
@client = double("Chef::Client.new",
|
119
|
+
:run_ohai => true,
|
120
|
+
:load_node => true,
|
121
|
+
:build_node => true,
|
122
|
+
:register => true,
|
123
|
+
:sync_cookbooks => {})
|
124
|
+
Chef::Client.should_receive(:new).with(nil, Chef::Config[:shell_config]).and_return(@client)
|
125
|
+
@session.send(:rebuild_node)
|
126
|
+
end
|
127
|
+
|
100
128
|
end
|
101
129
|
|
102
130
|
describe Shell::SoloSession do
|
103
131
|
before do
|
132
|
+
Chef::Config[:shell_config] = { :override_runlist => [Chef::RunList::RunListItem.new('shell::override')] }
|
104
133
|
Chef::Config[:shell_solo] = true
|
105
134
|
@session = Shell::SoloSession.instance
|
106
135
|
@node = Chef::Node.new
|
@@ -151,4 +180,15 @@ describe Shell::SoloSession do
|
|
151
180
|
@recipe.run_chef.should == :converged
|
152
181
|
end
|
153
182
|
|
183
|
+
it "passes the shell CLI args to the client" do
|
184
|
+
@client = double("Chef::Client.new",
|
185
|
+
:run_ohai => true,
|
186
|
+
:load_node => true,
|
187
|
+
:build_node => true,
|
188
|
+
:register => true,
|
189
|
+
:sync_cookbooks => {})
|
190
|
+
Chef::Client.should_receive(:new).with(nil, Chef::Config[:shell_config]).and_return(@client)
|
191
|
+
@session.send(:rebuild_node)
|
192
|
+
end
|
193
|
+
|
154
194
|
end
|
data/spec/unit/shell_spec.rb
CHANGED
data/spec/unit/user_spec.rb
CHANGED
@@ -205,6 +205,8 @@ describe Chef::User do
|
|
205
205
|
Chef::Config[:chef_server_url] = "http://www.example.com"
|
206
206
|
@osc_response = { "admin" => "http://www.example.com/users/admin"}
|
207
207
|
@ohc_response = [ { "user" => { "username" => "admin" }} ]
|
208
|
+
Chef::User.stub(:load).with("admin").and_return(@user)
|
209
|
+
@osc_inflated_response = { "admin" => @user }
|
208
210
|
end
|
209
211
|
|
210
212
|
it "lists all clients on an OSC server" do
|
@@ -212,12 +214,22 @@ describe Chef::User do
|
|
212
214
|
Chef::User.list.should == @osc_response
|
213
215
|
end
|
214
216
|
|
217
|
+
it "inflate all clients on an OSC server" do
|
218
|
+
@http_client.stub(:get_rest).with("users").and_return(@osc_response)
|
219
|
+
Chef::User.list(true).should == @osc_inflated_response
|
220
|
+
end
|
221
|
+
|
215
222
|
it "lists all clients on an OHC/OPC server" do
|
216
223
|
@http_client.stub(:get_rest).with("users").and_return(@ohc_response)
|
217
224
|
# We expect that Chef::User.list will give a consistent response
|
218
225
|
# so OHC API responses should be transformed to OSC-style output.
|
219
226
|
Chef::User.list.should == @osc_response
|
220
227
|
end
|
228
|
+
|
229
|
+
it "inflate all clients on an OHC/OPC server" do
|
230
|
+
@http_client.stub(:get_rest).with("users").and_return(@ohc_response)
|
231
|
+
Chef::User.list(true).should == @osc_inflated_response
|
232
|
+
end
|
221
233
|
end
|
222
234
|
|
223
235
|
describe "create" do
|
@@ -114,7 +114,7 @@ describe Chef::Util::Selinux do
|
|
114
114
|
end
|
115
115
|
|
116
116
|
describe "when restorecon binary exists on the system" do
|
117
|
-
let (:path) { "/path/to/awesome" }
|
117
|
+
let (:path) { "/path/to/awesome directory" }
|
118
118
|
|
119
119
|
before do
|
120
120
|
@restorecon_enabled_path = File.join("/sbin", "restorecon")
|
@@ -125,7 +125,7 @@ describe Chef::Util::Selinux do
|
|
125
125
|
end
|
126
126
|
|
127
127
|
it "should call restorecon non-recursive by default" do
|
128
|
-
restorecon_command = "#{@restorecon_enabled_path} -R #{path}"
|
128
|
+
restorecon_command = "#{@restorecon_enabled_path} -R \"#{path}\""
|
129
129
|
@test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
|
130
130
|
@test_instance.restore_security_context(path)
|
131
131
|
File.should_not_receive(:executable?)
|
@@ -133,7 +133,7 @@ describe Chef::Util::Selinux do
|
|
133
133
|
end
|
134
134
|
|
135
135
|
it "should call restorecon recursive when recursive is set" do
|
136
|
-
restorecon_command = "#{@restorecon_enabled_path} -R -r #{path}"
|
136
|
+
restorecon_command = "#{@restorecon_enabled_path} -R -r \"#{path}\""
|
137
137
|
@test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
|
138
138
|
@test_instance.restore_security_context(path, true)
|
139
139
|
File.should_not_receive(:executable?)
|
@@ -141,7 +141,7 @@ describe Chef::Util::Selinux do
|
|
141
141
|
end
|
142
142
|
|
143
143
|
it "should call restorecon non-recursive when recursive is not set" do
|
144
|
-
restorecon_command = "#{@restorecon_enabled_path} -R #{path}"
|
144
|
+
restorecon_command = "#{@restorecon_enabled_path} -R \"#{path}\""
|
145
145
|
@test_instance.should_receive(:shell_out!).twice.with(restorecon_command)
|
146
146
|
@test_instance.restore_security_context(path)
|
147
147
|
File.should_not_receive(:executable?)
|
@@ -20,8 +20,8 @@ require 'chef/version_constraint'
|
|
20
20
|
|
21
21
|
describe Chef::VersionConstraint do
|
22
22
|
describe "validation" do
|
23
|
-
bad_version = ["
|
24
|
-
bad_op = ["
|
23
|
+
bad_version = [">= 1.2.z", "> 1.2.3 < 5.0", "> 1.2.3, < 5.0"]
|
24
|
+
bad_op = ["> >", ">$ 1.2.3", "! 3.4"]
|
25
25
|
o_error = Chef::Exceptions::InvalidVersionConstraint
|
26
26
|
v_error = Chef::Exceptions::InvalidCookbookVersion
|
27
27
|
bad_version.each do |s|
|
@@ -64,6 +64,18 @@ describe Chef::VersionConstraint do
|
|
64
64
|
vc.version.should be_an_instance_of(Chef::Version)
|
65
65
|
end
|
66
66
|
|
67
|
+
it "should allow ops without space separator" do
|
68
|
+
Chef::VersionConstraint.new("=1.2.3").should eql(Chef::VersionConstraint.new("= 1.2.3"))
|
69
|
+
Chef::VersionConstraint.new(">1.2.3").should eql(Chef::VersionConstraint.new("> 1.2.3"))
|
70
|
+
Chef::VersionConstraint.new("<1.2.3").should eql(Chef::VersionConstraint.new("< 1.2.3"))
|
71
|
+
Chef::VersionConstraint.new(">=1.2.3").should eql(Chef::VersionConstraint.new(">= 1.2.3"))
|
72
|
+
Chef::VersionConstraint.new("<=1.2.3").should eql(Chef::VersionConstraint.new("<= 1.2.3"))
|
73
|
+
end
|
74
|
+
|
75
|
+
it "should allow ops with multiple spaces" do
|
76
|
+
Chef::VersionConstraint.new("= 1.2.3").should eql(Chef::VersionConstraint.new("= 1.2.3"))
|
77
|
+
end
|
78
|
+
|
67
79
|
describe "include?" do
|
68
80
|
describe "handles various input data types" do
|
69
81
|
before do
|
metadata
CHANGED
@@ -1,365 +1,390 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.14.0.
|
4
|
+
version: 11.14.0.rc.2
|
5
|
+
prerelease: 8
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Adam Jacob
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-07-07 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: mixlib-config
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '2.0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '2.0'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: mixlib-cli
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- -
|
35
|
+
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '1.4'
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- -
|
43
|
+
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '1.4'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: mixlib-log
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '1.3'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '1.3'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: mixlib-authentication
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- -
|
67
|
+
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '1.3'
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- -
|
75
|
+
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '1.3'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: mixlib-shellout
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- -
|
83
|
+
- - ~>
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: '1.4'
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- -
|
91
|
+
- - ~>
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: '1.4'
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: ohai
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
99
|
- - '='
|
88
100
|
- !ruby/object:Gem::Version
|
89
|
-
version: 7.2.0.
|
101
|
+
version: 7.2.0.rc.2
|
90
102
|
type: :runtime
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
107
|
- - '='
|
95
108
|
- !ruby/object:Gem::Version
|
96
|
-
version: 7.2.0.
|
109
|
+
version: 7.2.0.rc.2
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: rest-client
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ! '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: 1.0.4
|
104
|
-
- -
|
118
|
+
- - <
|
105
119
|
- !ruby/object:Gem::Version
|
106
120
|
version: 1.7.0
|
107
121
|
type: :runtime
|
108
122
|
prerelease: false
|
109
123
|
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
110
125
|
requirements:
|
111
|
-
- -
|
126
|
+
- - ! '>='
|
112
127
|
- !ruby/object:Gem::Version
|
113
128
|
version: 1.0.4
|
114
|
-
- -
|
129
|
+
- - <
|
115
130
|
- !ruby/object:Gem::Version
|
116
131
|
version: 1.7.0
|
117
132
|
- !ruby/object:Gem::Dependency
|
118
133
|
name: mime-types
|
119
134
|
requirement: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
120
136
|
requirements:
|
121
|
-
- -
|
137
|
+
- - ~>
|
122
138
|
- !ruby/object:Gem::Version
|
123
139
|
version: '1.16'
|
124
140
|
type: :runtime
|
125
141
|
prerelease: false
|
126
142
|
version_requirements: !ruby/object:Gem::Requirement
|
143
|
+
none: false
|
127
144
|
requirements:
|
128
|
-
- -
|
145
|
+
- - ~>
|
129
146
|
- !ruby/object:Gem::Version
|
130
147
|
version: '1.16'
|
131
148
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
149
|
+
name: ffi-yajl
|
133
150
|
requirement: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
134
152
|
requirements:
|
135
|
-
- -
|
153
|
+
- - ! '>='
|
136
154
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
138
|
-
- - "<="
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: 1.8.1
|
141
|
-
type: :runtime
|
142
|
-
prerelease: false
|
143
|
-
version_requirements: !ruby/object:Gem::Requirement
|
144
|
-
requirements:
|
145
|
-
- - ">="
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: 1.4.4
|
148
|
-
- - "<="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: 1.8.1
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: yajl-ruby
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '1.1'
|
155
|
+
version: '0'
|
158
156
|
type: :runtime
|
159
157
|
prerelease: false
|
160
158
|
version_requirements: !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
161
160
|
requirements:
|
162
|
-
- -
|
161
|
+
- - ! '>='
|
163
162
|
- !ruby/object:Gem::Version
|
164
|
-
version: '
|
163
|
+
version: '0'
|
165
164
|
- !ruby/object:Gem::Dependency
|
166
165
|
name: net-ssh
|
167
166
|
requirement: !ruby/object:Gem::Requirement
|
167
|
+
none: false
|
168
168
|
requirements:
|
169
|
-
- -
|
169
|
+
- - ~>
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: '2.6'
|
172
172
|
type: :runtime
|
173
173
|
prerelease: false
|
174
174
|
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
none: false
|
175
176
|
requirements:
|
176
|
-
- -
|
177
|
+
- - ~>
|
177
178
|
- !ruby/object:Gem::Version
|
178
179
|
version: '2.6'
|
179
180
|
- !ruby/object:Gem::Dependency
|
180
181
|
name: net-ssh-multi
|
181
182
|
requirement: !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
182
184
|
requirements:
|
183
|
-
- -
|
185
|
+
- - ~>
|
184
186
|
- !ruby/object:Gem::Version
|
185
187
|
version: '1.1'
|
186
188
|
type: :runtime
|
187
189
|
prerelease: false
|
188
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
none: false
|
189
192
|
requirements:
|
190
|
-
- -
|
193
|
+
- - ~>
|
191
194
|
- !ruby/object:Gem::Version
|
192
195
|
version: '1.1'
|
193
196
|
- !ruby/object:Gem::Dependency
|
194
197
|
name: highline
|
195
198
|
requirement: !ruby/object:Gem::Requirement
|
199
|
+
none: false
|
196
200
|
requirements:
|
197
|
-
- -
|
201
|
+
- - ~>
|
198
202
|
- !ruby/object:Gem::Version
|
199
203
|
version: '1.6'
|
200
|
-
- -
|
204
|
+
- - ! '>='
|
201
205
|
- !ruby/object:Gem::Version
|
202
206
|
version: 1.6.9
|
203
207
|
type: :runtime
|
204
208
|
prerelease: false
|
205
209
|
version_requirements: !ruby/object:Gem::Requirement
|
210
|
+
none: false
|
206
211
|
requirements:
|
207
|
-
- -
|
212
|
+
- - ~>
|
208
213
|
- !ruby/object:Gem::Version
|
209
214
|
version: '1.6'
|
210
|
-
- -
|
215
|
+
- - ! '>='
|
211
216
|
- !ruby/object:Gem::Version
|
212
217
|
version: 1.6.9
|
213
218
|
- !ruby/object:Gem::Dependency
|
214
219
|
name: erubis
|
215
220
|
requirement: !ruby/object:Gem::Requirement
|
221
|
+
none: false
|
216
222
|
requirements:
|
217
|
-
- -
|
223
|
+
- - ~>
|
218
224
|
- !ruby/object:Gem::Version
|
219
225
|
version: '2.7'
|
220
226
|
type: :runtime
|
221
227
|
prerelease: false
|
222
228
|
version_requirements: !ruby/object:Gem::Requirement
|
229
|
+
none: false
|
223
230
|
requirements:
|
224
|
-
- -
|
231
|
+
- - ~>
|
225
232
|
- !ruby/object:Gem::Version
|
226
233
|
version: '2.7'
|
227
234
|
- !ruby/object:Gem::Dependency
|
228
235
|
name: diff-lcs
|
229
236
|
requirement: !ruby/object:Gem::Requirement
|
237
|
+
none: false
|
230
238
|
requirements:
|
231
|
-
- -
|
239
|
+
- - ~>
|
232
240
|
- !ruby/object:Gem::Version
|
233
241
|
version: '1.2'
|
234
|
-
- -
|
242
|
+
- - ! '>='
|
235
243
|
- !ruby/object:Gem::Version
|
236
244
|
version: 1.2.4
|
237
245
|
type: :runtime
|
238
246
|
prerelease: false
|
239
247
|
version_requirements: !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
240
249
|
requirements:
|
241
|
-
- -
|
250
|
+
- - ~>
|
242
251
|
- !ruby/object:Gem::Version
|
243
252
|
version: '1.2'
|
244
|
-
- -
|
253
|
+
- - ! '>='
|
245
254
|
- !ruby/object:Gem::Version
|
246
255
|
version: 1.2.4
|
247
256
|
- !ruby/object:Gem::Dependency
|
248
257
|
name: chef-zero
|
249
258
|
requirement: !ruby/object:Gem::Requirement
|
259
|
+
none: false
|
250
260
|
requirements:
|
251
|
-
- -
|
261
|
+
- - ~>
|
252
262
|
- !ruby/object:Gem::Version
|
253
263
|
version: '2.1'
|
254
|
-
- -
|
264
|
+
- - ! '>='
|
255
265
|
- !ruby/object:Gem::Version
|
256
266
|
version: 2.1.4
|
257
267
|
type: :runtime
|
258
268
|
prerelease: false
|
259
269
|
version_requirements: !ruby/object:Gem::Requirement
|
270
|
+
none: false
|
260
271
|
requirements:
|
261
|
-
- -
|
272
|
+
- - ~>
|
262
273
|
- !ruby/object:Gem::Version
|
263
274
|
version: '2.1'
|
264
|
-
- -
|
275
|
+
- - ! '>='
|
265
276
|
- !ruby/object:Gem::Version
|
266
277
|
version: 2.1.4
|
267
278
|
- !ruby/object:Gem::Dependency
|
268
279
|
name: pry
|
269
280
|
requirement: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
270
282
|
requirements:
|
271
|
-
- -
|
283
|
+
- - ~>
|
272
284
|
- !ruby/object:Gem::Version
|
273
285
|
version: '0.9'
|
274
286
|
type: :runtime
|
275
287
|
prerelease: false
|
276
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
277
290
|
requirements:
|
278
|
-
- -
|
291
|
+
- - ~>
|
279
292
|
- !ruby/object:Gem::Version
|
280
293
|
version: '0.9'
|
281
294
|
- !ruby/object:Gem::Dependency
|
282
295
|
name: rack
|
283
296
|
requirement: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
284
298
|
requirements:
|
285
|
-
- -
|
299
|
+
- - ! '>='
|
286
300
|
- !ruby/object:Gem::Version
|
287
301
|
version: '0'
|
288
302
|
type: :development
|
289
303
|
prerelease: false
|
290
304
|
version_requirements: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
291
306
|
requirements:
|
292
|
-
- -
|
307
|
+
- - ! '>='
|
293
308
|
- !ruby/object:Gem::Version
|
294
309
|
version: '0'
|
295
310
|
- !ruby/object:Gem::Dependency
|
296
311
|
name: rake
|
297
312
|
requirement: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
298
314
|
requirements:
|
299
|
-
- -
|
315
|
+
- - ~>
|
300
316
|
- !ruby/object:Gem::Version
|
301
317
|
version: 10.1.0
|
302
318
|
type: :development
|
303
319
|
prerelease: false
|
304
320
|
version_requirements: !ruby/object:Gem::Requirement
|
321
|
+
none: false
|
305
322
|
requirements:
|
306
|
-
- -
|
323
|
+
- - ~>
|
307
324
|
- !ruby/object:Gem::Version
|
308
325
|
version: 10.1.0
|
309
326
|
- !ruby/object:Gem::Dependency
|
310
327
|
name: rspec_junit_formatter
|
311
328
|
requirement: !ruby/object:Gem::Requirement
|
329
|
+
none: false
|
312
330
|
requirements:
|
313
|
-
- -
|
331
|
+
- - ~>
|
314
332
|
- !ruby/object:Gem::Version
|
315
333
|
version: 0.1.0
|
316
334
|
type: :development
|
317
335
|
prerelease: false
|
318
336
|
version_requirements: !ruby/object:Gem::Requirement
|
337
|
+
none: false
|
319
338
|
requirements:
|
320
|
-
- -
|
339
|
+
- - ~>
|
321
340
|
- !ruby/object:Gem::Version
|
322
341
|
version: 0.1.0
|
323
342
|
- !ruby/object:Gem::Dependency
|
324
343
|
name: rspec-core
|
325
344
|
requirement: !ruby/object:Gem::Requirement
|
345
|
+
none: false
|
326
346
|
requirements:
|
327
|
-
- -
|
347
|
+
- - ~>
|
328
348
|
- !ruby/object:Gem::Version
|
329
349
|
version: 2.14.0
|
330
350
|
type: :development
|
331
351
|
prerelease: false
|
332
352
|
version_requirements: !ruby/object:Gem::Requirement
|
353
|
+
none: false
|
333
354
|
requirements:
|
334
|
-
- -
|
355
|
+
- - ~>
|
335
356
|
- !ruby/object:Gem::Version
|
336
357
|
version: 2.14.0
|
337
358
|
- !ruby/object:Gem::Dependency
|
338
359
|
name: rspec-expectations
|
339
360
|
requirement: !ruby/object:Gem::Requirement
|
361
|
+
none: false
|
340
362
|
requirements:
|
341
|
-
- -
|
363
|
+
- - ~>
|
342
364
|
- !ruby/object:Gem::Version
|
343
365
|
version: 2.14.0
|
344
366
|
type: :development
|
345
367
|
prerelease: false
|
346
368
|
version_requirements: !ruby/object:Gem::Requirement
|
369
|
+
none: false
|
347
370
|
requirements:
|
348
|
-
- -
|
371
|
+
- - ~>
|
349
372
|
- !ruby/object:Gem::Version
|
350
373
|
version: 2.14.0
|
351
374
|
- !ruby/object:Gem::Dependency
|
352
375
|
name: rspec-mocks
|
353
376
|
requirement: !ruby/object:Gem::Requirement
|
377
|
+
none: false
|
354
378
|
requirements:
|
355
|
-
- -
|
379
|
+
- - ~>
|
356
380
|
- !ruby/object:Gem::Version
|
357
381
|
version: 2.14.0
|
358
382
|
type: :development
|
359
383
|
prerelease: false
|
360
384
|
version_requirements: !ruby/object:Gem::Requirement
|
385
|
+
none: false
|
361
386
|
requirements:
|
362
|
-
- -
|
387
|
+
- - ~>
|
363
388
|
- !ruby/object:Gem::Version
|
364
389
|
version: 2.14.0
|
365
390
|
description: A systems integration framework, built to bring the benefits of configuration
|
@@ -379,18 +404,10 @@ extra_rdoc_files:
|
|
379
404
|
- CONTRIBUTING.md
|
380
405
|
- LICENSE
|
381
406
|
files:
|
382
|
-
-
|
407
|
+
- Rakefile
|
383
408
|
- LICENSE
|
384
409
|
- README.md
|
385
|
-
-
|
386
|
-
- bin/chef-apply
|
387
|
-
- bin/chef-client
|
388
|
-
- bin/chef-service-manager
|
389
|
-
- bin/chef-shell
|
390
|
-
- bin/chef-solo
|
391
|
-
- bin/knife
|
392
|
-
- bin/shef
|
393
|
-
- distro/README
|
410
|
+
- CONTRIBUTING.md
|
394
411
|
- distro/arch/etc/conf.d/chef-client.conf
|
395
412
|
- distro/arch/etc/conf.d/chef-expander.conf
|
396
413
|
- distro/arch/etc/conf.d/chef-server-webui.conf
|
@@ -501,7 +518,6 @@ files:
|
|
501
518
|
- distro/common/html/objects.inv
|
502
519
|
- distro/common/html/search.html
|
503
520
|
- distro/common/html/searchindex.js
|
504
|
-
- distro/common/man/man1/README.md
|
505
521
|
- distro/common/man/man1/chef-shell.1
|
506
522
|
- distro/common/man/man1/knife-bootstrap.1
|
507
523
|
- distro/common/man/man1/knife-client.1
|
@@ -523,6 +539,7 @@ files:
|
|
523
539
|
- distro/common/man/man1/knife-recipe-list.1
|
524
540
|
- distro/common/man/man1/knife-role.1
|
525
541
|
- distro/common/man/man1/knife-search.1
|
542
|
+
- distro/common/man/man1/knife-serve.1
|
526
543
|
- distro/common/man/man1/knife-show.1
|
527
544
|
- distro/common/man/man1/knife-ssh.1
|
528
545
|
- distro/common/man/man1/knife-ssl-check.1
|
@@ -533,9 +550,9 @@ files:
|
|
533
550
|
- distro/common/man/man1/knife-user.1
|
534
551
|
- distro/common/man/man1/knife-xargs.1
|
535
552
|
- distro/common/man/man1/knife.1
|
553
|
+
- distro/common/man/man1/README.md
|
536
554
|
- distro/common/man/man8/chef-client.8
|
537
555
|
- distro/common/man/man8/chef-solo.8
|
538
|
-
- distro/common/markdown/README
|
539
556
|
- distro/common/markdown/man1/chef-shell.mkd
|
540
557
|
- distro/common/markdown/man1/knife-bootstrap.mkd
|
541
558
|
- distro/common/markdown/man1/knife-client.mkd
|
@@ -560,21 +577,23 @@ files:
|
|
560
577
|
- distro/common/markdown/man8/chef-server.mkd
|
561
578
|
- distro/common/markdown/man8/chef-solo.mkd
|
562
579
|
- distro/common/markdown/man8/chef-solr.mkd
|
580
|
+
- distro/common/markdown/README
|
563
581
|
- distro/debian/etc/default/chef-client
|
564
582
|
- distro/debian/etc/default/chef-expander
|
565
583
|
- distro/debian/etc/default/chef-server
|
566
584
|
- distro/debian/etc/default/chef-server-webui
|
567
585
|
- distro/debian/etc/default/chef-solr
|
568
|
-
- distro/debian/etc/init.d/chef-client
|
569
|
-
- distro/debian/etc/init.d/chef-expander
|
570
|
-
- distro/debian/etc/init.d/chef-server
|
571
|
-
- distro/debian/etc/init.d/chef-server-webui
|
572
|
-
- distro/debian/etc/init.d/chef-solr
|
573
586
|
- distro/debian/etc/init/chef-client.conf
|
574
587
|
- distro/debian/etc/init/chef-expander.conf
|
575
588
|
- distro/debian/etc/init/chef-server-webui.conf
|
576
589
|
- distro/debian/etc/init/chef-server.conf
|
577
590
|
- distro/debian/etc/init/chef-solr.conf
|
591
|
+
- distro/debian/etc/init.d/chef-client
|
592
|
+
- distro/debian/etc/init.d/chef-expander
|
593
|
+
- distro/debian/etc/init.d/chef-server
|
594
|
+
- distro/debian/etc/init.d/chef-server-webui
|
595
|
+
- distro/debian/etc/init.d/chef-solr
|
596
|
+
- distro/README
|
578
597
|
- distro/redhat/etc/init.d/chef-client
|
579
598
|
- distro/redhat/etc/init.d/chef-expander
|
580
599
|
- distro/redhat/etc/init.d/chef-server
|
@@ -591,10 +610,8 @@ files:
|
|
591
610
|
- distro/redhat/etc/sysconfig/chef-server-webui
|
592
611
|
- distro/redhat/etc/sysconfig/chef-solr
|
593
612
|
- distro/windows/service_manager.rb
|
594
|
-
- lib/chef.rb
|
595
|
-
- lib/chef/api_client.rb
|
596
613
|
- lib/chef/api_client/registration.rb
|
597
|
-
- lib/chef/
|
614
|
+
- lib/chef/api_client.rb
|
598
615
|
- lib/chef/application/agent.rb
|
599
616
|
- lib/chef/application/apply.rb
|
600
617
|
- lib/chef/application/client.rb
|
@@ -602,8 +619,8 @@ files:
|
|
602
619
|
- lib/chef/application/solo.rb
|
603
620
|
- lib/chef/application/windows_service.rb
|
604
621
|
- lib/chef/application/windows_service_manager.rb
|
622
|
+
- lib/chef/application.rb
|
605
623
|
- lib/chef/applications.rb
|
606
|
-
- lib/chef/chef_fs.rb
|
607
624
|
- lib/chef/chef_fs/chef_fs_data_store.rb
|
608
625
|
- lib/chef/chef_fs/command_line.rb
|
609
626
|
- lib/chef/chef_fs/config.rb
|
@@ -619,7 +636,6 @@ files:
|
|
619
636
|
- lib/chef/chef_fs/data_handler/role_data_handler.rb
|
620
637
|
- lib/chef/chef_fs/data_handler/user_data_handler.rb
|
621
638
|
- lib/chef/chef_fs/file_pattern.rb
|
622
|
-
- lib/chef/chef_fs/file_system.rb
|
623
639
|
- lib/chef/chef_fs/file_system/acl_dir.rb
|
624
640
|
- lib/chef/chef_fs/file_system/acl_entry.rb
|
625
641
|
- lib/chef/chef_fs/file_system/acls_dir.rb
|
@@ -659,11 +675,13 @@ files:
|
|
659
675
|
- lib/chef/chef_fs/file_system/operation_not_allowed_error.rb
|
660
676
|
- lib/chef/chef_fs/file_system/rest_list_dir.rb
|
661
677
|
- lib/chef/chef_fs/file_system/rest_list_entry.rb
|
678
|
+
- lib/chef/chef_fs/file_system.rb
|
662
679
|
- lib/chef/chef_fs/knife.rb
|
663
|
-
- lib/chef/chef_fs/parallelizer.rb
|
664
680
|
- lib/chef/chef_fs/parallelizer/flatten_enumerable.rb
|
665
681
|
- lib/chef/chef_fs/parallelizer/parallel_enumerable.rb
|
682
|
+
- lib/chef/chef_fs/parallelizer.rb
|
666
683
|
- lib/chef/chef_fs/path_utils.rb
|
684
|
+
- lib/chef/chef_fs.rb
|
667
685
|
- lib/chef/client.rb
|
668
686
|
- lib/chef/config.rb
|
669
687
|
- lib/chef/config_fetcher.rb
|
@@ -690,7 +708,6 @@ files:
|
|
690
708
|
- lib/chef/deprecation/provider/template.rb
|
691
709
|
- lib/chef/deprecation/warnings.rb
|
692
710
|
- lib/chef/digester.rb
|
693
|
-
- lib/chef/dsl.rb
|
694
711
|
- lib/chef/dsl/data_query.rb
|
695
712
|
- lib/chef/dsl/include_attribute.rb
|
696
713
|
- lib/chef/dsl/include_recipe.rb
|
@@ -698,32 +715,32 @@ files:
|
|
698
715
|
- lib/chef/dsl/reboot_pending.rb
|
699
716
|
- lib/chef/dsl/recipe.rb
|
700
717
|
- lib/chef/dsl/registry_helper.rb
|
701
|
-
- lib/chef/
|
718
|
+
- lib/chef/dsl.rb
|
702
719
|
- lib/chef/encrypted_data_bag_item/decryption_failure.rb
|
703
720
|
- lib/chef/encrypted_data_bag_item/decryptor.rb
|
704
721
|
- lib/chef/encrypted_data_bag_item/encryptor.rb
|
705
722
|
- lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb
|
706
723
|
- lib/chef/encrypted_data_bag_item/unsupported_cipher.rb
|
707
724
|
- lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb
|
725
|
+
- lib/chef/encrypted_data_bag_item.rb
|
708
726
|
- lib/chef/environment.rb
|
709
727
|
- lib/chef/event_dispatch/base.rb
|
710
728
|
- lib/chef/event_dispatch/dispatcher.rb
|
711
729
|
- lib/chef/event_dispatch/events_output_stream.rb
|
712
730
|
- lib/chef/exceptions.rb
|
713
|
-
- lib/chef/file_access_control.rb
|
714
731
|
- lib/chef/file_access_control/unix.rb
|
715
732
|
- lib/chef/file_access_control/windows.rb
|
733
|
+
- lib/chef/file_access_control.rb
|
716
734
|
- lib/chef/file_cache.rb
|
717
735
|
- lib/chef/file_content_management/content_base.rb
|
718
|
-
- lib/chef/file_content_management/deploy.rb
|
719
736
|
- lib/chef/file_content_management/deploy/cp.rb
|
720
737
|
- lib/chef/file_content_management/deploy/mv_unix.rb
|
721
738
|
- lib/chef/file_content_management/deploy/mv_windows.rb
|
739
|
+
- lib/chef/file_content_management/deploy.rb
|
722
740
|
- lib/chef/file_content_management/tempfile.rb
|
723
741
|
- lib/chef/formatters/base.rb
|
724
742
|
- lib/chef/formatters/doc.rb
|
725
743
|
- lib/chef/formatters/error_descriptor.rb
|
726
|
-
- lib/chef/formatters/error_inspectors.rb
|
727
744
|
- lib/chef/formatters/error_inspectors/api_error_formatting.rb
|
728
745
|
- lib/chef/formatters/error_inspectors/compile_error_inspector.rb
|
729
746
|
- lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb
|
@@ -732,15 +749,15 @@ files:
|
|
732
749
|
- lib/chef/formatters/error_inspectors/registration_error_inspector.rb
|
733
750
|
- lib/chef/formatters/error_inspectors/resource_failure_inspector.rb
|
734
751
|
- lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb
|
752
|
+
- lib/chef/formatters/error_inspectors.rb
|
735
753
|
- lib/chef/formatters/error_mapper.rb
|
736
754
|
- lib/chef/formatters/indentable_output_stream.rb
|
737
755
|
- lib/chef/formatters/minimal.rb
|
738
756
|
- lib/chef/guard_interpreter/default_guard_interpreter.rb
|
739
757
|
- lib/chef/guard_interpreter/resource_guard_interpreter.rb
|
740
|
-
- lib/chef/handler.rb
|
741
758
|
- lib/chef/handler/error_report.rb
|
742
759
|
- lib/chef/handler/json_file.rb
|
743
|
-
- lib/chef/
|
760
|
+
- lib/chef/handler.rb
|
744
761
|
- lib/chef/http/auth_credentials.rb
|
745
762
|
- lib/chef/http/authenticator.rb
|
746
763
|
- lib/chef/http/basic_client.rb
|
@@ -755,18 +772,18 @@ files:
|
|
755
772
|
- lib/chef/http/simple.rb
|
756
773
|
- lib/chef/http/ssl_policies.rb
|
757
774
|
- lib/chef/http/validate_content_length.rb
|
775
|
+
- lib/chef/http.rb
|
758
776
|
- lib/chef/json_compat.rb
|
759
|
-
- lib/chef/knife.rb
|
760
|
-
- lib/chef/knife/bootstrap.rb
|
761
|
-
- lib/chef/knife/bootstrap/README.md
|
762
777
|
- lib/chef/knife/bootstrap/archlinux-gems.erb
|
763
778
|
- lib/chef/knife/bootstrap/centos5-gems.erb
|
764
779
|
- lib/chef/knife/bootstrap/chef-aix.erb
|
765
780
|
- lib/chef/knife/bootstrap/chef-full.erb
|
766
781
|
- lib/chef/knife/bootstrap/fedora13-gems.erb
|
782
|
+
- lib/chef/knife/bootstrap/README.md
|
767
783
|
- lib/chef/knife/bootstrap/ubuntu10.04-apt.erb
|
768
784
|
- lib/chef/knife/bootstrap/ubuntu10.04-gems.erb
|
769
785
|
- lib/chef/knife/bootstrap/ubuntu12.04-gems.erb
|
786
|
+
- lib/chef/knife/bootstrap.rb
|
770
787
|
- lib/chef/knife/client_bulk_delete.rb
|
771
788
|
- lib/chef/knife/client_create.rb
|
772
789
|
- lib/chef/knife/client_delete.rb
|
@@ -864,12 +881,13 @@ files:
|
|
864
881
|
- lib/chef/knife/user_reregister.rb
|
865
882
|
- lib/chef/knife/user_show.rb
|
866
883
|
- lib/chef/knife/xargs.rb
|
884
|
+
- lib/chef/knife.rb
|
867
885
|
- lib/chef/log.rb
|
868
886
|
- lib/chef/mash.rb
|
869
887
|
- lib/chef/mixin/checksum.rb
|
870
|
-
- lib/chef/mixin/command.rb
|
871
888
|
- lib/chef/mixin/command/unix.rb
|
872
889
|
- lib/chef/mixin/command/windows.rb
|
890
|
+
- lib/chef/mixin/command.rb
|
873
891
|
- lib/chef/mixin/convert_to_class_name.rb
|
874
892
|
- lib/chef/mixin/create_path.rb
|
875
893
|
- lib/chef/mixin/deep_merge.rb
|
@@ -905,37 +923,35 @@ files:
|
|
905
923
|
- lib/chef/monkey_patches/uri.rb
|
906
924
|
- lib/chef/monologger.rb
|
907
925
|
- lib/chef/nil_argument.rb
|
908
|
-
- lib/chef/node.rb
|
909
926
|
- lib/chef/node/attribute.rb
|
910
927
|
- lib/chef/node/attribute_collections.rb
|
911
928
|
- lib/chef/node/immutable_collections.rb
|
912
|
-
- lib/chef/
|
929
|
+
- lib/chef/node.rb
|
913
930
|
- lib/chef/platform/provider_mapping.rb
|
914
931
|
- lib/chef/platform/query_helpers.rb
|
915
|
-
- lib/chef/
|
932
|
+
- lib/chef/platform.rb
|
916
933
|
- lib/chef/policy_builder/expand_node_object.rb
|
917
934
|
- lib/chef/policy_builder/policyfile.rb
|
918
|
-
- lib/chef/
|
935
|
+
- lib/chef/policy_builder.rb
|
919
936
|
- lib/chef/provider/batch.rb
|
920
937
|
- lib/chef/provider/breakpoint.rb
|
921
|
-
- lib/chef/provider/cookbook_file.rb
|
922
938
|
- lib/chef/provider/cookbook_file/content.rb
|
923
|
-
- lib/chef/provider/
|
939
|
+
- lib/chef/provider/cookbook_file.rb
|
924
940
|
- lib/chef/provider/cron/aix.rb
|
925
941
|
- lib/chef/provider/cron/solaris.rb
|
926
942
|
- lib/chef/provider/cron/unix.rb
|
927
|
-
- lib/chef/provider/
|
943
|
+
- lib/chef/provider/cron.rb
|
928
944
|
- lib/chef/provider/deploy/revision.rb
|
929
945
|
- lib/chef/provider/deploy/timestamped.rb
|
946
|
+
- lib/chef/provider/deploy.rb
|
930
947
|
- lib/chef/provider/directory.rb
|
931
|
-
- lib/chef/provider/env.rb
|
932
948
|
- lib/chef/provider/env/windows.rb
|
949
|
+
- lib/chef/provider/env.rb
|
933
950
|
- lib/chef/provider/erl_call.rb
|
934
951
|
- lib/chef/provider/execute.rb
|
935
|
-
- lib/chef/provider/file.rb
|
936
952
|
- lib/chef/provider/file/content.rb
|
953
|
+
- lib/chef/provider/file.rb
|
937
954
|
- lib/chef/provider/git.rb
|
938
|
-
- lib/chef/provider/group.rb
|
939
955
|
- lib/chef/provider/group/aix.rb
|
940
956
|
- lib/chef/provider/group/dscl.rb
|
941
957
|
- lib/chef/provider/group/gpasswd.rb
|
@@ -945,22 +961,22 @@ files:
|
|
945
961
|
- lib/chef/provider/group/suse.rb
|
946
962
|
- lib/chef/provider/group/usermod.rb
|
947
963
|
- lib/chef/provider/group/windows.rb
|
964
|
+
- lib/chef/provider/group.rb
|
948
965
|
- lib/chef/provider/http_request.rb
|
949
|
-
- lib/chef/provider/ifconfig.rb
|
950
966
|
- lib/chef/provider/ifconfig/aix.rb
|
951
967
|
- lib/chef/provider/ifconfig/debian.rb
|
952
968
|
- lib/chef/provider/ifconfig/redhat.rb
|
969
|
+
- lib/chef/provider/ifconfig.rb
|
953
970
|
- lib/chef/provider/link.rb
|
954
971
|
- lib/chef/provider/log.rb
|
955
972
|
- lib/chef/provider/lwrp_base.rb
|
956
973
|
- lib/chef/provider/mdadm.rb
|
957
|
-
- lib/chef/provider/mount.rb
|
958
974
|
- lib/chef/provider/mount/aix.rb
|
959
975
|
- lib/chef/provider/mount/mount.rb
|
960
976
|
- lib/chef/provider/mount/solaris.rb
|
961
977
|
- lib/chef/provider/mount/windows.rb
|
978
|
+
- lib/chef/provider/mount.rb
|
962
979
|
- lib/chef/provider/ohai.rb
|
963
|
-
- lib/chef/provider/package.rb
|
964
980
|
- lib/chef/provider/package/aix.rb
|
965
981
|
- lib/chef/provider/package/apt.rb
|
966
982
|
- lib/chef/provider/package/dpkg.rb
|
@@ -972,31 +988,32 @@ files:
|
|
972
988
|
- lib/chef/provider/package/ips.rb
|
973
989
|
- lib/chef/provider/package/macports.rb
|
974
990
|
- lib/chef/provider/package/pacman.rb
|
991
|
+
- lib/chef/provider/package/paludis.rb
|
975
992
|
- lib/chef/provider/package/portage.rb
|
976
993
|
- lib/chef/provider/package/rpm.rb
|
977
994
|
- lib/chef/provider/package/rubygems.rb
|
978
995
|
- lib/chef/provider/package/smartos.rb
|
979
996
|
- lib/chef/provider/package/solaris.rb
|
980
|
-
- lib/chef/provider/package/windows.rb
|
981
997
|
- lib/chef/provider/package/windows/msi.rb
|
998
|
+
- lib/chef/provider/package/windows.rb
|
982
999
|
- lib/chef/provider/package/yum-dump.py
|
983
1000
|
- lib/chef/provider/package/yum.rb
|
984
1001
|
- lib/chef/provider/package/zypper.rb
|
1002
|
+
- lib/chef/provider/package.rb
|
985
1003
|
- lib/chef/provider/powershell_script.rb
|
986
1004
|
- lib/chef/provider/registry_key.rb
|
987
1005
|
- lib/chef/provider/remote_directory.rb
|
988
|
-
- lib/chef/provider/remote_file.rb
|
989
1006
|
- lib/chef/provider/remote_file/cache_control_data.rb
|
990
1007
|
- lib/chef/provider/remote_file/content.rb
|
991
1008
|
- lib/chef/provider/remote_file/fetcher.rb
|
992
1009
|
- lib/chef/provider/remote_file/ftp.rb
|
993
1010
|
- lib/chef/provider/remote_file/http.rb
|
994
1011
|
- lib/chef/provider/remote_file/local_file.rb
|
1012
|
+
- lib/chef/provider/remote_file.rb
|
995
1013
|
- lib/chef/provider/resource_update.rb
|
996
1014
|
- lib/chef/provider/route.rb
|
997
1015
|
- lib/chef/provider/ruby_block.rb
|
998
1016
|
- lib/chef/provider/script.rb
|
999
|
-
- lib/chef/provider/service.rb
|
1000
1017
|
- lib/chef/provider/service/arch.rb
|
1001
1018
|
- lib/chef/provider/service/debian.rb
|
1002
1019
|
- lib/chef/provider/service/freebsd.rb
|
@@ -1011,23 +1028,24 @@ files:
|
|
1011
1028
|
- lib/chef/provider/service/systemd.rb
|
1012
1029
|
- lib/chef/provider/service/upstart.rb
|
1013
1030
|
- lib/chef/provider/service/windows.rb
|
1031
|
+
- lib/chef/provider/service.rb
|
1014
1032
|
- lib/chef/provider/subversion.rb
|
1015
|
-
- lib/chef/provider/template.rb
|
1016
1033
|
- lib/chef/provider/template/content.rb
|
1034
|
+
- lib/chef/provider/template.rb
|
1017
1035
|
- lib/chef/provider/template_finder.rb
|
1018
|
-
- lib/chef/provider/user.rb
|
1019
1036
|
- lib/chef/provider/user/dscl.rb
|
1020
1037
|
- lib/chef/provider/user/pw.rb
|
1021
1038
|
- lib/chef/provider/user/solaris.rb
|
1022
1039
|
- lib/chef/provider/user/useradd.rb
|
1023
1040
|
- lib/chef/provider/user/windows.rb
|
1041
|
+
- lib/chef/provider/user.rb
|
1024
1042
|
- lib/chef/provider/whyrun_safe_ruby_block.rb
|
1025
1043
|
- lib/chef/provider/windows_script.rb
|
1044
|
+
- lib/chef/provider.rb
|
1026
1045
|
- lib/chef/providers.rb
|
1027
1046
|
- lib/chef/recipe.rb
|
1028
1047
|
- lib/chef/request_id.rb
|
1029
1048
|
- lib/chef/reserved_names.rb
|
1030
|
-
- lib/chef/resource.rb
|
1031
1049
|
- lib/chef/resource/apt_package.rb
|
1032
1050
|
- lib/chef/resource/bash.rb
|
1033
1051
|
- lib/chef/resource/batch.rb
|
@@ -1064,6 +1082,7 @@ files:
|
|
1064
1082
|
- lib/chef/resource/ohai.rb
|
1065
1083
|
- lib/chef/resource/package.rb
|
1066
1084
|
- lib/chef/resource/pacman_package.rb
|
1085
|
+
- lib/chef/resource/paludis_package.rb
|
1067
1086
|
- lib/chef/resource/perl.rb
|
1068
1087
|
- lib/chef/resource/portage_package.rb
|
1069
1088
|
- lib/chef/resource/powershell_script.rb
|
@@ -1088,8 +1107,9 @@ files:
|
|
1088
1107
|
- lib/chef/resource/windows_package.rb
|
1089
1108
|
- lib/chef/resource/windows_script.rb
|
1090
1109
|
- lib/chef/resource/yum_package.rb
|
1091
|
-
- lib/chef/
|
1110
|
+
- lib/chef/resource.rb
|
1092
1111
|
- lib/chef/resource_collection/stepable_iterator.rb
|
1112
|
+
- lib/chef/resource_collection.rb
|
1093
1113
|
- lib/chef/resource_definition.rb
|
1094
1114
|
- lib/chef/resource_definition_list.rb
|
1095
1115
|
- lib/chef/resource_platform_map.rb
|
@@ -1097,12 +1117,12 @@ files:
|
|
1097
1117
|
- lib/chef/resources.rb
|
1098
1118
|
- lib/chef/rest.rb
|
1099
1119
|
- lib/chef/role.rb
|
1100
|
-
- lib/chef/run_context.rb
|
1101
1120
|
- lib/chef/run_context/cookbook_compiler.rb
|
1102
|
-
- lib/chef/
|
1121
|
+
- lib/chef/run_context.rb
|
1103
1122
|
- lib/chef/run_list/run_list_expansion.rb
|
1104
1123
|
- lib/chef/run_list/run_list_item.rb
|
1105
1124
|
- lib/chef/run_list/versioned_recipe_list.rb
|
1125
|
+
- lib/chef/run_list.rb
|
1106
1126
|
- lib/chef/run_lock.rb
|
1107
1127
|
- lib/chef/run_status.rb
|
1108
1128
|
- lib/chef/runner.rb
|
@@ -1111,11 +1131,11 @@ files:
|
|
1111
1131
|
- lib/chef/search/query.rb
|
1112
1132
|
- lib/chef/server_api.rb
|
1113
1133
|
- lib/chef/shef/ext.rb
|
1114
|
-
- lib/chef/shell.rb
|
1115
1134
|
- lib/chef/shell/ext.rb
|
1116
1135
|
- lib/chef/shell/model_wrapper.rb
|
1117
1136
|
- lib/chef/shell/shell_rest.rb
|
1118
1137
|
- lib/chef/shell/shell_session.rb
|
1138
|
+
- lib/chef/shell.rb
|
1119
1139
|
- lib/chef/shell_out.rb
|
1120
1140
|
- lib/chef/streaming_cookbook_uploader.rb
|
1121
1141
|
- lib/chef/tasks/chef_repo.rake
|
@@ -1127,18 +1147,17 @@ files:
|
|
1127
1147
|
- lib/chef/util/path_helper.rb
|
1128
1148
|
- lib/chef/util/selinux.rb
|
1129
1149
|
- lib/chef/util/threaded_job_queue.rb
|
1130
|
-
- lib/chef/util/windows.rb
|
1131
1150
|
- lib/chef/util/windows/net_group.rb
|
1132
1151
|
- lib/chef/util/windows/net_use.rb
|
1133
1152
|
- lib/chef/util/windows/net_user.rb
|
1134
1153
|
- lib/chef/util/windows/volume.rb
|
1135
|
-
- lib/chef/
|
1154
|
+
- lib/chef/util/windows.rb
|
1136
1155
|
- lib/chef/version/platform.rb
|
1156
|
+
- lib/chef/version.rb
|
1137
1157
|
- lib/chef/version_class.rb
|
1138
|
-
- lib/chef/version_constraint.rb
|
1139
1158
|
- lib/chef/version_constraint/platform.rb
|
1159
|
+
- lib/chef/version_constraint.rb
|
1140
1160
|
- lib/chef/whitelist.rb
|
1141
|
-
- lib/chef/win32/api.rb
|
1142
1161
|
- lib/chef/win32/api/error.rb
|
1143
1162
|
- lib/chef/win32/api/file.rb
|
1144
1163
|
- lib/chef/win32/api/installer.rb
|
@@ -1149,23 +1168,26 @@ files:
|
|
1149
1168
|
- lib/chef/win32/api/synchronization.rb
|
1150
1169
|
- lib/chef/win32/api/system.rb
|
1151
1170
|
- lib/chef/win32/api/unicode.rb
|
1171
|
+
- lib/chef/win32/api.rb
|
1152
1172
|
- lib/chef/win32/error.rb
|
1153
|
-
- lib/chef/win32/file.rb
|
1154
1173
|
- lib/chef/win32/file/info.rb
|
1174
|
+
- lib/chef/win32/file.rb
|
1155
1175
|
- lib/chef/win32/handle.rb
|
1156
1176
|
- lib/chef/win32/memory.rb
|
1157
1177
|
- lib/chef/win32/mutex.rb
|
1158
1178
|
- lib/chef/win32/process.rb
|
1159
1179
|
- lib/chef/win32/registry.rb
|
1160
|
-
- lib/chef/win32/security.rb
|
1161
1180
|
- lib/chef/win32/security/ace.rb
|
1162
1181
|
- lib/chef/win32/security/acl.rb
|
1163
1182
|
- lib/chef/win32/security/securable_object.rb
|
1164
1183
|
- lib/chef/win32/security/security_descriptor.rb
|
1165
1184
|
- lib/chef/win32/security/sid.rb
|
1166
1185
|
- lib/chef/win32/security/token.rb
|
1186
|
+
- lib/chef/win32/security.rb
|
1167
1187
|
- lib/chef/win32/unicode.rb
|
1168
1188
|
- lib/chef/win32/version.rb
|
1189
|
+
- lib/chef.rb
|
1190
|
+
- tasks/rspec.rb
|
1169
1191
|
- spec/data/apt/chef-integration-test-1.0/debian/changelog
|
1170
1192
|
- spec/data/apt/chef-integration-test-1.0/debian/compat
|
1171
1193
|
- spec/data/apt/chef-integration-test-1.0/debian/control
|
@@ -1195,11 +1217,11 @@ files:
|
|
1195
1217
|
- spec/data/apt/var/www/apt/db/references.db
|
1196
1218
|
- spec/data/apt/var/www/apt/db/release.caches.db
|
1197
1219
|
- spec/data/apt/var/www/apt/db/version
|
1198
|
-
- spec/data/apt/var/www/apt/dists/sid/Release
|
1199
1220
|
- spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
|
1200
1221
|
- spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
|
1201
1222
|
- spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
|
1202
1223
|
- spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
|
1224
|
+
- spec/data/apt/var/www/apt/dists/sid/Release
|
1203
1225
|
- spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
|
1204
1226
|
- spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
|
1205
1227
|
- spec/data/bad-config.rb
|
@@ -1210,12 +1232,12 @@ files:
|
|
1210
1232
|
- spec/data/bootstrap/secret.erb
|
1211
1233
|
- spec/data/bootstrap/test-hints.erb
|
1212
1234
|
- spec/data/bootstrap/test.erb
|
1213
|
-
- spec/data/cb_version_cookbooks/tatft/README.rdoc
|
1214
1235
|
- spec/data/cb_version_cookbooks/tatft/attributes/default.rb
|
1215
1236
|
- spec/data/cb_version_cookbooks/tatft/definitions/runit_service.rb
|
1216
1237
|
- spec/data/cb_version_cookbooks/tatft/files/default/giant_blob.tgz
|
1217
1238
|
- spec/data/cb_version_cookbooks/tatft/libraries/ownage.rb
|
1218
1239
|
- spec/data/cb_version_cookbooks/tatft/providers/lwp.rb
|
1240
|
+
- spec/data/cb_version_cookbooks/tatft/README.rdoc
|
1219
1241
|
- spec/data/cb_version_cookbooks/tatft/recipes/default.rb
|
1220
1242
|
- spec/data/cb_version_cookbooks/tatft/resources/lwr.rb
|
1221
1243
|
- spec/data/cb_version_cookbooks/tatft/templates/default/configuration.erb
|
@@ -1368,6 +1390,16 @@ files:
|
|
1368
1390
|
- spec/data/run_context/cookbooks/no-default-attr/providers/provider.rb
|
1369
1391
|
- spec/data/run_context/cookbooks/no-default-attr/recipes/default.rb
|
1370
1392
|
- 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
|
1371
1403
|
- spec/data/run_context/cookbooks/test-with-circular-deps/attributes/default.rb
|
1372
1404
|
- spec/data/run_context/cookbooks/test-with-circular-deps/definitions/test_with-circular-deps_res.rb
|
1373
1405
|
- spec/data/run_context/cookbooks/test-with-circular-deps/libraries/lib.rb
|
@@ -1383,16 +1415,6 @@ files:
|
|
1383
1415
|
- spec/data/run_context/cookbooks/test-with-deps/recipes/default.rb
|
1384
1416
|
- spec/data/run_context/cookbooks/test-with-deps/recipes/server.rb
|
1385
1417
|
- spec/data/run_context/cookbooks/test-with-deps/resources/resource.rb
|
1386
|
-
- spec/data/run_context/cookbooks/test/attributes/default.rb
|
1387
|
-
- spec/data/run_context/cookbooks/test/attributes/george.rb
|
1388
|
-
- spec/data/run_context/cookbooks/test/definitions/new_animals.rb
|
1389
|
-
- spec/data/run_context/cookbooks/test/definitions/new_cat.rb
|
1390
|
-
- spec/data/run_context/cookbooks/test/definitions/test_res.rb
|
1391
|
-
- spec/data/run_context/cookbooks/test/providers/provider.rb
|
1392
|
-
- spec/data/run_context/cookbooks/test/recipes/default.rb
|
1393
|
-
- spec/data/run_context/cookbooks/test/recipes/one.rb
|
1394
|
-
- spec/data/run_context/cookbooks/test/recipes/two.rb
|
1395
|
-
- spec/data/run_context/cookbooks/test/resources/resource.rb
|
1396
1418
|
- spec/data/run_context/nodes/run_context.rb
|
1397
1419
|
- spec/data/search_queries_to_transform.txt
|
1398
1420
|
- spec/data/shef-config.rb
|
@@ -1402,8 +1424,8 @@ files:
|
|
1402
1424
|
- spec/data/ssl/key.pem
|
1403
1425
|
- spec/data/ssl/private_key.pem
|
1404
1426
|
- spec/data/ssl/private_key_with_whitespace.pem
|
1405
|
-
- spec/data/standalone_cookbook/Gemfile
|
1406
1427
|
- spec/data/standalone_cookbook/chefignore
|
1428
|
+
- spec/data/standalone_cookbook/Gemfile
|
1407
1429
|
- spec/data/standalone_cookbook/recipes/default.rb
|
1408
1430
|
- spec/data/standalone_cookbook/vendor/bundle/ruby/2.0.0/gems/multi_json-1.9.0/lib/multi_json.rb
|
1409
1431
|
- spec/data/templates/seattle.txt
|
@@ -1412,12 +1434,12 @@ files:
|
|
1412
1434
|
- spec/data/trusted_certs/opscode.pem
|
1413
1435
|
- spec/data/trusted_certs/root.pem
|
1414
1436
|
- spec/functional/application_spec.rb
|
1415
|
-
- spec/functional/assets/PkgA.1.0.0.0.bff
|
1416
|
-
- spec/functional/assets/PkgA.2.0.0.0.bff
|
1417
1437
|
- spec/functional/assets/dummy-1-0.aix6.1.noarch.rpm
|
1418
1438
|
- spec/functional/assets/dummy-2-0.aix6.1.noarch.rpm
|
1419
1439
|
- spec/functional/assets/mytest-1.0-1.noarch.rpm
|
1420
1440
|
- 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
|
1421
1443
|
- spec/functional/dsl/reboot_pending_spec.rb
|
1422
1444
|
- spec/functional/dsl/registry_helper_spec.rb
|
1423
1445
|
- spec/functional/file_content_management/deploy_strategies_spec.rb
|
@@ -1580,6 +1602,7 @@ files:
|
|
1580
1602
|
- spec/unit/handler/json_file_spec.rb
|
1581
1603
|
- spec/unit/handler_spec.rb
|
1582
1604
|
- spec/unit/http/basic_client_spec.rb
|
1605
|
+
- spec/unit/http/http_request_spec.rb
|
1583
1606
|
- spec/unit/http/simple_spec.rb
|
1584
1607
|
- spec/unit/http/ssl_policies_spec.rb
|
1585
1608
|
- spec/unit/http/validate_content_length_spec.rb
|
@@ -1733,6 +1756,7 @@ files:
|
|
1733
1756
|
- spec/unit/provider/package/ips_spec.rb
|
1734
1757
|
- spec/unit/provider/package/macports_spec.rb
|
1735
1758
|
- spec/unit/provider/package/pacman_spec.rb
|
1759
|
+
- spec/unit/provider/package/paludis_spec.rb
|
1736
1760
|
- spec/unit/provider/package/portage_spec.rb
|
1737
1761
|
- spec/unit/provider/package/rpm_spec.rb
|
1738
1762
|
- spec/unit/provider/package/rubygems_spec.rb
|
@@ -1879,29 +1903,39 @@ files:
|
|
1879
1903
|
- spec/unit/version_constraint/platform_spec.rb
|
1880
1904
|
- spec/unit/version_constraint_spec.rb
|
1881
1905
|
- spec/unit/windows_service_spec.rb
|
1882
|
-
-
|
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
|
1883
1913
|
homepage: http://wiki.opscode.com/display/chef
|
1884
1914
|
licenses: []
|
1885
|
-
metadata: {}
|
1886
1915
|
post_install_message:
|
1887
1916
|
rdoc_options: []
|
1888
1917
|
require_paths:
|
1889
1918
|
- lib
|
1890
1919
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1920
|
+
none: false
|
1891
1921
|
requirements:
|
1892
|
-
- -
|
1922
|
+
- - ! '>='
|
1893
1923
|
- !ruby/object:Gem::Version
|
1894
1924
|
version: '0'
|
1925
|
+
segments:
|
1926
|
+
- 0
|
1927
|
+
hash: 1503652227548245970
|
1895
1928
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1929
|
+
none: false
|
1896
1930
|
requirements:
|
1897
|
-
- -
|
1931
|
+
- - ! '>'
|
1898
1932
|
- !ruby/object:Gem::Version
|
1899
1933
|
version: 1.3.1
|
1900
1934
|
requirements: []
|
1901
1935
|
rubyforge_project:
|
1902
|
-
rubygems_version:
|
1936
|
+
rubygems_version: 1.8.24
|
1903
1937
|
signing_key:
|
1904
|
-
specification_version:
|
1938
|
+
specification_version: 3
|
1905
1939
|
summary: A systems integration framework, built to bring the benefits of configuration
|
1906
1940
|
management to your entire infrastructure.
|
1907
1941
|
test_files: []
|