chef 11.6.0 → 11.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/Rakefile +12 -4
- data/distro/common/html/chef-client.8.html +4 -4
- data/distro/common/html/chef-expander.8.html +4 -4
- data/distro/common/html/chef-expanderctl.8.html +4 -4
- data/distro/common/html/chef-server-webui.8.html +4 -4
- data/distro/common/html/chef-server.8.html +4 -4
- data/distro/common/html/chef-shell.1.html +4 -4
- data/distro/common/html/chef-solo.8.html +4 -4
- data/distro/common/html/chef-solr.8.html +5 -5
- data/distro/common/html/knife-bootstrap.1.html +4 -4
- data/distro/common/html/knife-client.1.html +4 -4
- data/distro/common/html/knife-configure.1.html +4 -4
- data/distro/common/html/knife-cookbook-site.1.html +4 -4
- data/distro/common/html/knife-cookbook.1.html +4 -4
- data/distro/common/html/knife-data-bag.1.html +4 -4
- data/distro/common/html/knife-environment.1.html +4 -4
- data/distro/common/html/knife-exec.1.html +4 -4
- data/distro/common/html/knife-index.1.html +4 -4
- data/distro/common/html/knife-node.1.html +4 -4
- data/distro/common/html/knife-role.1.html +4 -4
- data/distro/common/html/knife-search.1.html +4 -4
- data/distro/common/html/knife-ssh.1.html +4 -4
- data/distro/common/html/knife-status.1.html +4 -4
- data/distro/common/html/knife-tag.1.html +4 -4
- data/distro/common/html/knife.1.html +4 -4
- data/distro/common/man/man1/chef-shell.1 +1 -1
- data/distro/common/man/man1/knife-bootstrap.1 +1 -1
- data/distro/common/man/man1/knife-client.1 +0 -99
- data/distro/common/man/man1/knife-configure.1 +1 -1
- data/distro/common/man/man1/knife-cookbook-site.1 +1 -1
- data/distro/common/man/man1/knife-cookbook.1 +1 -1
- data/distro/common/man/man1/knife-data-bag.1 +1 -1
- data/distro/common/man/man1/knife-environment.1 +0 -168
- data/distro/common/man/man1/knife-exec.1 +1 -1
- data/distro/common/man/man1/knife-index.1 +1 -1
- data/distro/common/man/man1/knife-node.1 +1 -1
- data/distro/common/man/man1/knife-role.1 +1 -1
- data/distro/common/man/man1/knife-search.1 +1 -1
- data/distro/common/man/man1/knife-ssh.1 +1 -1
- data/distro/common/man/man1/knife-status.1 +1 -1
- data/distro/common/man/man1/knife-tag.1 +1 -1
- data/distro/common/man/man1/knife.1 +1 -1
- data/distro/common/man/man8/chef-client.8 +1 -1
- data/distro/common/man/man8/chef-expander.8 +1 -1
- data/distro/common/man/man8/chef-expanderctl.8 +1 -1
- data/distro/common/man/man8/chef-server-webui.8 +1 -1
- data/distro/common/man/man8/chef-server.8 +1 -1
- data/distro/common/man/man8/chef-solo.8 +1 -1
- data/distro/common/man/man8/chef-solr.8 +1 -1
- data/lib/chef/deprecation/provider/template.rb +1 -1
- data/lib/chef/provider/remote_file/cache_control_data.rb +4 -1
- data/lib/chef/version.rb +3 -3
- data/lib/chef/win32/api/file.rb +7 -0
- data/spec/data/apt/chef-integration-test-1.0/debian/changelog +5 -0
- data/spec/data/apt/chef-integration-test-1.0/debian/compat +1 -0
- data/spec/data/apt/chef-integration-test-1.0/debian/control +13 -0
- data/spec/data/apt/chef-integration-test-1.0/debian/copyright +34 -0
- data/spec/data/apt/chef-integration-test-1.0/debian/files +1 -0
- data/spec/data/apt/chef-integration-test-1.0/debian/rules +13 -0
- data/spec/data/apt/chef-integration-test-1.0/debian/source/format +1 -0
- data/spec/data/apt/chef-integration-test-1.1/debian/changelog +11 -0
- data/spec/data/apt/chef-integration-test-1.1/debian/compat +1 -0
- data/spec/data/apt/chef-integration-test-1.1/debian/control +13 -0
- data/spec/data/apt/chef-integration-test-1.1/debian/copyright +34 -0
- data/spec/data/apt/chef-integration-test-1.1/debian/files +1 -0
- data/spec/data/apt/chef-integration-test-1.1/debian/rules +13 -0
- data/spec/data/apt/chef-integration-test-1.1/debian/source/format +1 -0
- data/spec/data/apt/chef-integration-test_1.0-1_amd64.changes +22 -0
- data/spec/data/apt/chef-integration-test_1.0-1_amd64.deb +0 -0
- data/spec/data/apt/chef-integration-test_1.0.orig.tar.gz +0 -0
- data/spec/data/apt/chef-integration-test_1.1-1_amd64.changes +22 -0
- data/spec/data/apt/chef-integration-test_1.1-1_amd64.deb +0 -0
- data/spec/data/apt/chef-integration-test_1.1.orig.tar.gz +0 -0
- data/spec/data/apt/var/www/apt/conf/distributions +7 -0
- data/spec/data/apt/var/www/apt/conf/incoming +4 -0
- data/spec/data/apt/var/www/apt/conf/pulls +3 -0
- data/spec/data/apt/var/www/apt/db/checksums.db +0 -0
- data/spec/data/apt/var/www/apt/db/contents.cache.db +0 -0
- data/spec/data/apt/var/www/apt/db/packages.db +0 -0
- data/spec/data/apt/var/www/apt/db/references.db +0 -0
- data/spec/data/apt/var/www/apt/db/release.caches.db +0 -0
- data/spec/data/apt/var/www/apt/db/version +4 -0
- data/spec/data/apt/var/www/apt/dists/sid/Release +19 -0
- data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages +16 -0
- data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz +0 -0
- data/spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release +5 -0
- data/spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages +0 -0
- data/spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb +0 -0
- data/spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb +0 -0
- data/spec/data/cookbooks/preseed/files/default/preseed-file.seed +1 -0
- data/spec/data/cookbooks/preseed/templates/default/preseed-template.seed +1 -0
- data/spec/functional/provider/remote_file/cache_control_data_spec.rb +101 -0
- data/spec/functional/resource/package_spec.rb +297 -0
- data/spec/functional/resource/user_spec.rb +6 -14
- data/spec/spec_helper.rb +29 -0
- data/spec/support/shared/functional/file_resource.rb +37 -0
- data/spec/unit/provider/package/rubygems_spec.rb +1 -1
- data/spec/unit/provider/remote_file/cache_control_data_spec.rb +41 -0
- metadata +101 -43
@@ -20,14 +20,14 @@
|
|
20
20
|
require 'spec_helper'
|
21
21
|
require 'chef/mixin/shell_out'
|
22
22
|
|
23
|
-
|
23
|
+
metadata = { :unix_only => true,
|
24
|
+
:requires_root => true,
|
25
|
+
:provider => {:user => Chef::Provider::User::Useradd}
|
26
|
+
}
|
24
27
|
|
25
|
-
|
28
|
+
describe Chef::Resource::User, metadata do
|
26
29
|
|
27
|
-
|
28
|
-
OHAI_SYSTEM = Ohai::System.new
|
29
|
-
OHAI_SYSTEM.require_plugin("os")
|
30
|
-
OHAI_SYSTEM.require_plugin("platform")
|
30
|
+
include Chef::Mixin::ShellOut
|
31
31
|
|
32
32
|
|
33
33
|
# Utility code for /etc/passwd interaction, avoid any caching of user records:
|
@@ -56,14 +56,6 @@ describe Chef::Resource::User, :unix_only, :requires_root do
|
|
56
56
|
before do
|
57
57
|
# Silence shell_out live stream
|
58
58
|
Chef::Log.level = :warn
|
59
|
-
|
60
|
-
# Tests only implemented for a subset of platforms currently.
|
61
|
-
user_provider = Chef::Platform.find_provider(OHAI_SYSTEM["platform"],
|
62
|
-
OHAI_SYSTEM["platform_version"],
|
63
|
-
:user)
|
64
|
-
unless user_provider == Chef::Provider::User::Useradd
|
65
|
-
pending "Only the useradd provider is supported at this time"
|
66
|
-
end
|
67
59
|
end
|
68
60
|
|
69
61
|
after do
|
data/spec/spec_helper.rb
CHANGED
@@ -83,6 +83,13 @@ Dir["spec/support/**/*.rb"].
|
|
83
83
|
map { |f| f.gsub(%r[spec/], '')}.
|
84
84
|
each { |f| require f }
|
85
85
|
|
86
|
+
|
87
|
+
OHAI_SYSTEM = Ohai::System.new
|
88
|
+
OHAI_SYSTEM.require_plugin("os")
|
89
|
+
OHAI_SYSTEM.require_plugin("platform")
|
90
|
+
TEST_PLATFORM = OHAI_SYSTEM["platform"].dup.freeze
|
91
|
+
TEST_PLATFORM_VERSION = OHAI_SYSTEM["platform_version"].dup.freeze
|
92
|
+
|
86
93
|
RSpec.configure do |config|
|
87
94
|
config.include(Matchers)
|
88
95
|
config.filter_run :focus => true
|
@@ -111,6 +118,28 @@ RSpec.configure do |config|
|
|
111
118
|
config.filter_run_excluding :requires_unprivileged_user => true if ENV['USER'] == 'root'
|
112
119
|
config.filter_run_excluding :uses_diff => true unless has_diff?
|
113
120
|
|
121
|
+
running_platform_arch = `uname -m`.strip
|
122
|
+
|
123
|
+
config.filter_run_excluding :arch => lambda {|target_arch|
|
124
|
+
running_platform_arch != target_arch
|
125
|
+
}
|
126
|
+
|
127
|
+
# Functional Resource tests that are provider-specific:
|
128
|
+
# context "on platforms that use useradd", :provider => {:user => Chef::Provider::User::Useradd}} do #...
|
129
|
+
config.filter_run_excluding :provider => lambda {|criteria|
|
130
|
+
type, target_provider = criteria.first
|
131
|
+
|
132
|
+
platform = TEST_PLATFORM.dup
|
133
|
+
platform_version = TEST_PLATFORM_VERSION.dup
|
134
|
+
|
135
|
+
begin
|
136
|
+
provider_for_running_platform = Chef::Platform.find_provider(platform, platform_version, type)
|
137
|
+
provider_for_running_platform != target_provider
|
138
|
+
rescue ArgumentError # no provider for platform
|
139
|
+
true
|
140
|
+
end
|
141
|
+
}
|
142
|
+
|
114
143
|
config.run_all_when_everything_filtered = true
|
115
144
|
config.treat_symbols_as_metadata_keys_with_true_values = true
|
116
145
|
end
|
@@ -895,6 +895,43 @@ shared_examples_for "a configured file resource" do
|
|
895
895
|
end
|
896
896
|
end
|
897
897
|
|
898
|
+
# Regression test for http://tickets.opscode.com/browse/CHEF-4419
|
899
|
+
context "when the path starts with '/' and target file exists", :windows_only do
|
900
|
+
let(:path) do
|
901
|
+
File.join(test_file_dir[2..test_file_dir.length], make_tmpname(file_base))
|
902
|
+
end
|
903
|
+
|
904
|
+
before do
|
905
|
+
File.open(path, "wb") { |f| f.print expected_content }
|
906
|
+
now = Time.now.to_i
|
907
|
+
File.utime(now - 9000, now - 9000, path)
|
908
|
+
|
909
|
+
@expected_mtime = File.stat(path).mtime
|
910
|
+
@expected_checksum = sha256_checksum(path)
|
911
|
+
end
|
912
|
+
|
913
|
+
describe ":create action should run without any updates" do
|
914
|
+
before do
|
915
|
+
# Assert starting state is as expected
|
916
|
+
File.should exist(path)
|
917
|
+
sha256_checksum(path).should == @expected_checksum
|
918
|
+
resource.run_action(:create)
|
919
|
+
end
|
920
|
+
|
921
|
+
it "does not overwrite the original when the :create action is run" do
|
922
|
+
sha256_checksum(path).should == @expected_checksum
|
923
|
+
end
|
924
|
+
|
925
|
+
it "does not update the mtime of the file when the :create action is run" do
|
926
|
+
File.stat(path).mtime.should == @expected_mtime
|
927
|
+
end
|
928
|
+
|
929
|
+
it "is not marked as updated by last action" do
|
930
|
+
resource.should_not be_updated_by_last_action
|
931
|
+
end
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
898
935
|
end
|
899
936
|
|
900
937
|
shared_context Chef::Resource::File do
|
@@ -256,7 +256,7 @@ describe Chef::Provider::Package::Rubygems::AlternateGemEnvironment do
|
|
256
256
|
it "determines the installed versions of gems from the source index (part2: the unmockening)" do
|
257
257
|
$stdout.stub!(:write)
|
258
258
|
path_to_gem = if windows?
|
259
|
-
`where gem`.split[
|
259
|
+
`where gem`.split[1]
|
260
260
|
else
|
261
261
|
`which gem`.strip
|
262
262
|
end
|
@@ -19,6 +19,15 @@
|
|
19
19
|
require 'spec_helper'
|
20
20
|
require 'uri'
|
21
21
|
|
22
|
+
CACHE_FILE_TRUNCATED_FRIENDLY_FILE_NAME_LENGTH = 64
|
23
|
+
CACHE_FILE_MD5_HEX_LENGTH = 32
|
24
|
+
CACHE_FILE_JSON_FILE_EXTENSION_LENGTH = 5
|
25
|
+
CACHE_FILE_PATH_LIMIT =
|
26
|
+
CACHE_FILE_TRUNCATED_FRIENDLY_FILE_NAME_LENGTH +
|
27
|
+
1 +
|
28
|
+
CACHE_FILE_MD5_HEX_LENGTH +
|
29
|
+
CACHE_FILE_JSON_FILE_EXTENSION_LENGTH # {friendly}-{md5hex}.json == 102
|
30
|
+
|
22
31
|
describe Chef::Provider::RemoteFile::CacheControlData do
|
23
32
|
|
24
33
|
let(:uri) { URI.parse("http://www.google.com/robots.txt") }
|
@@ -164,6 +173,38 @@ describe Chef::Provider::RemoteFile::CacheControlData do
|
|
164
173
|
cache_control_data.save
|
165
174
|
end
|
166
175
|
end
|
176
|
+
|
177
|
+
# Cover the very long remote file path case -- see CHEF-4422 where
|
178
|
+
# local cache file names generated from the long uri exceeded
|
179
|
+
# local file system path limits resulting in exceptions from
|
180
|
+
# file system API's on both Windows and Unix systems.
|
181
|
+
context "and the URI results in a file cache path that exceeds #{CACHE_FILE_PATH_LIMIT} characters in length" do
|
182
|
+
let(:long_remote_path) { "http://www.bing.com/" + ('0' * (CACHE_FILE_TRUNCATED_FRIENDLY_FILE_NAME_LENGTH * 2 )) }
|
183
|
+
let(:uri) { URI.parse(long_remote_path) }
|
184
|
+
let(:truncated_remote_uri) { URI.parse(long_remote_path[0...CACHE_FILE_TRUNCATED_FRIENDLY_FILE_NAME_LENGTH]) }
|
185
|
+
let(:truncated_file_cache_path) do
|
186
|
+
cache_control_data_truncated = Chef::Provider::RemoteFile::CacheControlData.load_and_validate(truncated_remote_uri, current_file_checksum)
|
187
|
+
cache_control_data_truncated.send('sanitized_cache_file_basename')[0...CACHE_FILE_TRUNCATED_FRIENDLY_FILE_NAME_LENGTH]
|
188
|
+
end
|
189
|
+
|
190
|
+
it "truncates the file cache path to 102 characters" do
|
191
|
+
normalized_cache_path = cache_control_data.send('sanitized_cache_file_basename')
|
192
|
+
|
193
|
+
Chef::FileCache.should_receive(:store).with("remote_file/" + normalized_cache_path, cache_control_data.json_data)
|
194
|
+
|
195
|
+
cache_control_data.save
|
196
|
+
|
197
|
+
normalized_cache_path.length.should == CACHE_FILE_PATH_LIMIT
|
198
|
+
end
|
199
|
+
|
200
|
+
it "uses a file cache path that starts with the first #{CACHE_FILE_TRUNCATED_FRIENDLY_FILE_NAME_LENGTH} characters of the URI" do
|
201
|
+
normalized_cache_path = cache_control_data.send('sanitized_cache_file_basename')
|
202
|
+
|
203
|
+
truncated_file_cache_path.length.should == CACHE_FILE_TRUNCATED_FRIENDLY_FILE_NAME_LENGTH
|
204
|
+
normalized_cache_path.start_with?(truncated_file_cache_path).should == true
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
167
208
|
end
|
168
209
|
|
169
210
|
end
|
metadata
CHANGED
@@ -1,104 +1,116 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.6.
|
4
|
+
version: 11.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-config
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.1.2
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.1'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 1.1.2
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.1'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: mixlib-cli
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ~>
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.3
|
39
|
+
version: '1.3'
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
44
|
- - ~>
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.3
|
46
|
+
version: '1.3'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: mixlib-log
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.3
|
53
|
+
version: '1.3'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- -
|
58
|
+
- - ~>
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.3
|
60
|
+
version: '1.3'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: mixlib-authentication
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
|
-
- -
|
65
|
+
- - ~>
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.3
|
67
|
+
version: '1.3'
|
62
68
|
type: :runtime
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
|
-
- -
|
72
|
+
- - ~>
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.3
|
74
|
+
version: '1.3'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: mixlib-shellout
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- -
|
79
|
+
- - ~>
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
81
|
+
version: '1.1'
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
|
-
- -
|
86
|
+
- - ~>
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
88
|
+
version: '1.1'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: ohai
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
|
-
- -
|
93
|
+
- - '>='
|
88
94
|
- !ruby/object:Gem::Version
|
89
95
|
version: 0.6.0
|
96
|
+
- - <
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 7.0.0
|
90
99
|
type: :runtime
|
91
100
|
prerelease: false
|
92
101
|
version_requirements: !ruby/object:Gem::Requirement
|
93
102
|
requirements:
|
94
|
-
- -
|
103
|
+
- - '>='
|
95
104
|
- !ruby/object:Gem::Version
|
96
105
|
version: 0.6.0
|
106
|
+
- - <
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 7.0.0
|
97
109
|
- !ruby/object:Gem::Dependency
|
98
110
|
name: rest-client
|
99
111
|
requirement: !ruby/object:Gem::Requirement
|
100
112
|
requirements:
|
101
|
-
- -
|
113
|
+
- - '>='
|
102
114
|
- !ruby/object:Gem::Version
|
103
115
|
version: 1.0.4
|
104
116
|
- - <
|
@@ -108,7 +120,7 @@ dependencies:
|
|
108
120
|
prerelease: false
|
109
121
|
version_requirements: !ruby/object:Gem::Requirement
|
110
122
|
requirements:
|
111
|
-
- -
|
123
|
+
- - '>='
|
112
124
|
- !ruby/object:Gem::Version
|
113
125
|
version: 1.0.4
|
114
126
|
- - <
|
@@ -118,7 +130,7 @@ dependencies:
|
|
118
130
|
name: json
|
119
131
|
requirement: !ruby/object:Gem::Requirement
|
120
132
|
requirements:
|
121
|
-
- -
|
133
|
+
- - '>='
|
122
134
|
- !ruby/object:Gem::Version
|
123
135
|
version: 1.4.4
|
124
136
|
- - <=
|
@@ -128,7 +140,7 @@ dependencies:
|
|
128
140
|
prerelease: false
|
129
141
|
version_requirements: !ruby/object:Gem::Requirement
|
130
142
|
requirements:
|
131
|
-
- -
|
143
|
+
- - '>='
|
132
144
|
- !ruby/object:Gem::Version
|
133
145
|
version: 1.4.4
|
134
146
|
- - <=
|
@@ -180,98 +192,104 @@ dependencies:
|
|
180
192
|
name: highline
|
181
193
|
requirement: !ruby/object:Gem::Requirement
|
182
194
|
requirements:
|
183
|
-
- -
|
195
|
+
- - '>='
|
184
196
|
- !ruby/object:Gem::Version
|
185
197
|
version: 1.6.9
|
198
|
+
- - ~>
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '1.6'
|
186
201
|
type: :runtime
|
187
202
|
prerelease: false
|
188
203
|
version_requirements: !ruby/object:Gem::Requirement
|
189
204
|
requirements:
|
190
|
-
- -
|
205
|
+
- - '>='
|
191
206
|
- !ruby/object:Gem::Version
|
192
207
|
version: 1.6.9
|
208
|
+
- - ~>
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '1.6'
|
193
211
|
- !ruby/object:Gem::Dependency
|
194
212
|
name: erubis
|
195
213
|
requirement: !ruby/object:Gem::Requirement
|
196
214
|
requirements:
|
197
|
-
- -
|
215
|
+
- - ~>
|
198
216
|
- !ruby/object:Gem::Version
|
199
|
-
version: '
|
217
|
+
version: '2.7'
|
200
218
|
type: :runtime
|
201
219
|
prerelease: false
|
202
220
|
version_requirements: !ruby/object:Gem::Requirement
|
203
221
|
requirements:
|
204
|
-
- -
|
222
|
+
- - ~>
|
205
223
|
- !ruby/object:Gem::Version
|
206
|
-
version: '
|
224
|
+
version: '2.7'
|
207
225
|
- !ruby/object:Gem::Dependency
|
208
226
|
name: rdoc
|
209
227
|
requirement: !ruby/object:Gem::Requirement
|
210
228
|
requirements:
|
211
|
-
- -
|
229
|
+
- - '>='
|
212
230
|
- !ruby/object:Gem::Version
|
213
231
|
version: '0'
|
214
232
|
type: :development
|
215
233
|
prerelease: false
|
216
234
|
version_requirements: !ruby/object:Gem::Requirement
|
217
235
|
requirements:
|
218
|
-
- -
|
236
|
+
- - '>='
|
219
237
|
- !ruby/object:Gem::Version
|
220
238
|
version: '0'
|
221
239
|
- !ruby/object:Gem::Dependency
|
222
240
|
name: sdoc
|
223
241
|
requirement: !ruby/object:Gem::Requirement
|
224
242
|
requirements:
|
225
|
-
- -
|
243
|
+
- - '>='
|
226
244
|
- !ruby/object:Gem::Version
|
227
245
|
version: '0'
|
228
246
|
type: :development
|
229
247
|
prerelease: false
|
230
248
|
version_requirements: !ruby/object:Gem::Requirement
|
231
249
|
requirements:
|
232
|
-
- -
|
250
|
+
- - '>='
|
233
251
|
- !ruby/object:Gem::Version
|
234
252
|
version: '0'
|
235
253
|
- !ruby/object:Gem::Dependency
|
236
254
|
name: rake
|
237
255
|
requirement: !ruby/object:Gem::Requirement
|
238
256
|
requirements:
|
239
|
-
- -
|
257
|
+
- - '>='
|
240
258
|
- !ruby/object:Gem::Version
|
241
259
|
version: '0'
|
242
260
|
type: :development
|
243
261
|
prerelease: false
|
244
262
|
version_requirements: !ruby/object:Gem::Requirement
|
245
263
|
requirements:
|
246
|
-
- -
|
264
|
+
- - '>='
|
247
265
|
- !ruby/object:Gem::Version
|
248
266
|
version: '0'
|
249
267
|
- !ruby/object:Gem::Dependency
|
250
268
|
name: rack
|
251
269
|
requirement: !ruby/object:Gem::Requirement
|
252
270
|
requirements:
|
253
|
-
- -
|
271
|
+
- - '>='
|
254
272
|
- !ruby/object:Gem::Version
|
255
273
|
version: '0'
|
256
274
|
type: :development
|
257
275
|
prerelease: false
|
258
276
|
version_requirements: !ruby/object:Gem::Requirement
|
259
277
|
requirements:
|
260
|
-
- -
|
278
|
+
- - '>='
|
261
279
|
- !ruby/object:Gem::Version
|
262
280
|
version: '0'
|
263
281
|
- !ruby/object:Gem::Dependency
|
264
282
|
name: rspec_junit_formatter
|
265
283
|
requirement: !ruby/object:Gem::Requirement
|
266
284
|
requirements:
|
267
|
-
- -
|
285
|
+
- - '>='
|
268
286
|
- !ruby/object:Gem::Version
|
269
287
|
version: '0'
|
270
288
|
type: :development
|
271
289
|
prerelease: false
|
272
290
|
version_requirements: !ruby/object:Gem::Requirement
|
273
291
|
requirements:
|
274
|
-
- -
|
292
|
+
- - '>='
|
275
293
|
- !ruby/object:Gem::Version
|
276
294
|
version: '0'
|
277
295
|
- !ruby/object:Gem::Dependency
|
@@ -996,6 +1014,42 @@ files:
|
|
996
1014
|
- lib/chef/win32/version.rb
|
997
1015
|
- lib/chef.rb
|
998
1016
|
- tasks/rspec.rb
|
1017
|
+
- spec/data/apt/chef-integration-test-1.0/debian/changelog
|
1018
|
+
- spec/data/apt/chef-integration-test-1.0/debian/compat
|
1019
|
+
- spec/data/apt/chef-integration-test-1.0/debian/control
|
1020
|
+
- spec/data/apt/chef-integration-test-1.0/debian/copyright
|
1021
|
+
- spec/data/apt/chef-integration-test-1.0/debian/files
|
1022
|
+
- spec/data/apt/chef-integration-test-1.0/debian/rules
|
1023
|
+
- spec/data/apt/chef-integration-test-1.0/debian/source/format
|
1024
|
+
- spec/data/apt/chef-integration-test-1.1/debian/changelog
|
1025
|
+
- spec/data/apt/chef-integration-test-1.1/debian/compat
|
1026
|
+
- spec/data/apt/chef-integration-test-1.1/debian/control
|
1027
|
+
- spec/data/apt/chef-integration-test-1.1/debian/copyright
|
1028
|
+
- spec/data/apt/chef-integration-test-1.1/debian/files
|
1029
|
+
- spec/data/apt/chef-integration-test-1.1/debian/rules
|
1030
|
+
- spec/data/apt/chef-integration-test-1.1/debian/source/format
|
1031
|
+
- spec/data/apt/chef-integration-test_1.0-1_amd64.changes
|
1032
|
+
- spec/data/apt/chef-integration-test_1.0-1_amd64.deb
|
1033
|
+
- spec/data/apt/chef-integration-test_1.0.orig.tar.gz
|
1034
|
+
- spec/data/apt/chef-integration-test_1.1-1_amd64.changes
|
1035
|
+
- spec/data/apt/chef-integration-test_1.1-1_amd64.deb
|
1036
|
+
- spec/data/apt/chef-integration-test_1.1.orig.tar.gz
|
1037
|
+
- spec/data/apt/var/www/apt/conf/distributions
|
1038
|
+
- spec/data/apt/var/www/apt/conf/incoming
|
1039
|
+
- spec/data/apt/var/www/apt/conf/pulls
|
1040
|
+
- spec/data/apt/var/www/apt/db/checksums.db
|
1041
|
+
- spec/data/apt/var/www/apt/db/contents.cache.db
|
1042
|
+
- spec/data/apt/var/www/apt/db/packages.db
|
1043
|
+
- spec/data/apt/var/www/apt/db/references.db
|
1044
|
+
- spec/data/apt/var/www/apt/db/release.caches.db
|
1045
|
+
- spec/data/apt/var/www/apt/db/version
|
1046
|
+
- spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages
|
1047
|
+
- spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz
|
1048
|
+
- spec/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release
|
1049
|
+
- spec/data/apt/var/www/apt/dists/sid/main/binary-i386/Packages
|
1050
|
+
- spec/data/apt/var/www/apt/dists/sid/Release
|
1051
|
+
- spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb
|
1052
|
+
- spec/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb
|
999
1053
|
- spec/data/bad-config.rb
|
1000
1054
|
- spec/data/big_json.json
|
1001
1055
|
- spec/data/big_json_plus_one.json
|
@@ -1064,6 +1118,8 @@ files:
|
|
1064
1118
|
- spec/data/cookbooks/openldap/templates/default/openldap_variable_stuff.conf.erb
|
1065
1119
|
- spec/data/cookbooks/openldap/templates/default/some_windows_line_endings.erb
|
1066
1120
|
- spec/data/cookbooks/openldap/templates/default/test.erb
|
1121
|
+
- spec/data/cookbooks/preseed/files/default/preseed-file.seed
|
1122
|
+
- spec/data/cookbooks/preseed/templates/default/preseed-template.seed
|
1067
1123
|
- spec/data/definitions/test.rb
|
1068
1124
|
- spec/data/environment-config.rb
|
1069
1125
|
- spec/data/file-providers-method-snapshot-chef-11-4.json
|
@@ -1196,6 +1252,7 @@ files:
|
|
1196
1252
|
- spec/functional/knife/exec_spec.rb
|
1197
1253
|
- spec/functional/knife/smoke_test.rb
|
1198
1254
|
- spec/functional/knife/ssh_spec.rb
|
1255
|
+
- spec/functional/provider/remote_file/cache_control_data_spec.rb
|
1199
1256
|
- spec/functional/resource/batch_spec.rb
|
1200
1257
|
- spec/functional/resource/cookbook_file_spec.rb
|
1201
1258
|
- spec/functional/resource/deploy_revision_spec.rb
|
@@ -1203,6 +1260,7 @@ files:
|
|
1203
1260
|
- spec/functional/resource/file_spec.rb
|
1204
1261
|
- spec/functional/resource/git_spec.rb
|
1205
1262
|
- spec/functional/resource/link_spec.rb
|
1263
|
+
- spec/functional/resource/package_spec.rb
|
1206
1264
|
- spec/functional/resource/powershell_spec.rb
|
1207
1265
|
- spec/functional/resource/registry_spec.rb
|
1208
1266
|
- spec/functional/resource/remote_directory_spec.rb
|
@@ -1597,17 +1655,17 @@ require_paths:
|
|
1597
1655
|
- lib
|
1598
1656
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1599
1657
|
requirements:
|
1600
|
-
- -
|
1658
|
+
- - '>='
|
1601
1659
|
- !ruby/object:Gem::Version
|
1602
1660
|
version: '0'
|
1603
1661
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1604
1662
|
requirements:
|
1605
|
-
- -
|
1663
|
+
- - '>='
|
1606
1664
|
- !ruby/object:Gem::Version
|
1607
1665
|
version: '0'
|
1608
1666
|
requirements: []
|
1609
1667
|
rubyforge_project:
|
1610
|
-
rubygems_version: 2.
|
1668
|
+
rubygems_version: 2.1.5
|
1611
1669
|
signing_key:
|
1612
1670
|
specification_version: 4
|
1613
1671
|
summary: A systems integration framework, built to bring the benefits of configuration
|