poise-archive 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +46 -16
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -1
- data/README.md +7 -3
- data/Rakefile +1 -1
- data/chef/attributes/default.rb +18 -0
- data/lib/poise_archive.rb +1 -1
- data/lib/poise_archive/archive_providers.rb +4 -2
- data/lib/poise_archive/archive_providers/base.rb +1 -1
- data/lib/poise_archive/archive_providers/gnu_tar.rb +8 -2
- data/lib/poise_archive/archive_providers/seven_zip.rb +188 -0
- data/lib/poise_archive/archive_providers/tar.rb +1 -1
- data/lib/poise_archive/archive_providers/zip.rb +1 -1
- data/lib/poise_archive/cheftie.rb +1 -1
- data/lib/poise_archive/resources.rb +1 -1
- data/lib/poise_archive/resources/poise_archive.rb +1 -1
- data/lib/poise_archive/version.rb +2 -2
- data/poise-archive.gemspec +2 -1
- data/test/cookbook/files/myapp-1.0.0.tar.xz +0 -0
- data/test/cookbook/files/myapp-1.0.0/LICENSE +1 -0
- data/test/cookbook/files/myapp-1.0.0/README +2 -0
- data/test/cookbook/files/myapp-1.0.0/bin/run.sh +2 -0
- data/test/cookbook/files/myapp-1.0.0/src/main.c +5 -0
- data/test/cookbook/metadata.rb +1 -1
- data/test/cookbook/recipes/default.rb +20 -3
- data/test/gemfiles/chef-12.1.gemfile +4 -1
- data/test/gemfiles/chef-12.10.gemfile +22 -0
- data/test/gemfiles/chef-12.11.gemfile +22 -0
- data/test/gemfiles/chef-12.12.gemfile +21 -0
- data/test/gemfiles/chef-12.13.gemfile +21 -0
- data/test/gemfiles/chef-12.14.gemfile +19 -0
- data/test/gemfiles/chef-12.15.gemfile +19 -0
- data/test/gemfiles/chef-12.16.gemfile +19 -0
- data/test/gemfiles/chef-12.17.gemfile +19 -0
- data/test/gemfiles/chef-12.18.gemfile +19 -0
- data/test/gemfiles/chef-12.2.gemfile +4 -1
- data/test/gemfiles/chef-12.3.gemfile +4 -1
- data/test/gemfiles/chef-12.4.gemfile +5 -3
- data/test/gemfiles/chef-12.5.gemfile +4 -1
- data/test/gemfiles/chef-12.6.gemfile +4 -1
- data/test/gemfiles/chef-12.7.gemfile +22 -0
- data/test/gemfiles/chef-12.8.gemfile +22 -0
- data/test/gemfiles/chef-12.9.gemfile +22 -0
- data/test/gemfiles/chef-12.gemfile +2 -2
- data/test/gemfiles/master.gemfile +1 -1
- data/test/integration/default/serverspec/default_spec.rb +36 -6
- data/test/spec/archive_providers/gnu_tar_spec.rb +1 -3
- data/test/spec/archive_providers/seven_zip_spec.rb +151 -0
- data/test/spec/archive_providers/tar_spec.rb +2 -1
- data/test/spec/archive_providers/zip_spec.rb +1 -1
- data/test/spec/resources/poise_archive_spec.rb +1 -1
- data/test/spec/spec_helper.rb +1 -1
- metadata +54 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2015-
|
2
|
+
# Copyright 2015-2017, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -16,4 +16,4 @@
|
|
16
16
|
|
17
17
|
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
18
|
|
19
|
-
gem 'chef', '~> 12.
|
19
|
+
gem 'chef', '~> 12.18'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2016, Noah Kantrowitz
|
2
|
+
# Copyright 2016-2017, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -36,17 +36,17 @@ RSpec.shared_examples 'a poise_archive test' do |ext|
|
|
36
36
|
its(:content) { is_expected.to eq "This is a project!\n\n" }
|
37
37
|
end
|
38
38
|
describe file("#{base}/src/main.c") do
|
39
|
-
|
39
|
+
its(:content) { is_expected.to eq "int main(int argc, char **argv)\n{\n return 0;\n}\n\n" }
|
40
40
|
end
|
41
41
|
describe file("#{base}/bin/run.sh") do
|
42
|
-
|
42
|
+
its(:content) { is_expected.to eq "#!/bin/sh\necho \"Started!\"\n" }
|
43
43
|
it { is_expected.to be_mode '755' } unless os[:family] == 'windows'
|
44
44
|
end
|
45
45
|
describe file("#{base}_0/myapp-1.0.0/src/main.c") do
|
46
|
-
|
46
|
+
its(:content) { is_expected.to eq "int main(int argc, char **argv)\n{\n return 0;\n}\n\n" }
|
47
47
|
end
|
48
48
|
describe file("#{base}_2/main.c") do
|
49
|
-
|
49
|
+
its(:content) { is_expected.to eq "int main(int argc, char **argv)\n{\n return 0;\n}\n\n" }
|
50
50
|
end
|
51
51
|
describe file("#{base}_user") do
|
52
52
|
it { is_expected.to be_owned_by 'poise' }
|
@@ -64,7 +64,7 @@ RSpec.shared_examples 'a poise_archive test' do |ext|
|
|
64
64
|
its(:content) { is_expected.to eq "This is a project!\n\n" }
|
65
65
|
end
|
66
66
|
describe file("#{base}_http/src/main.c") do
|
67
|
-
|
67
|
+
its(:content) { is_expected.to eq "int main(int argc, char **argv)\n{\n return 0;\n}\n\n" }
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
@@ -81,6 +81,10 @@ describe 'default provider' do
|
|
81
81
|
it_should_behave_like 'a poise_archive test', 'default/tar.bz2'
|
82
82
|
end
|
83
83
|
|
84
|
+
describe 'tar.xz' do
|
85
|
+
it_should_behave_like 'a poise_archive test', 'default/tar.xz'
|
86
|
+
end
|
87
|
+
|
84
88
|
describe 'zip' do
|
85
89
|
it_should_behave_like 'a poise_archive test', 'default/zip'
|
86
90
|
end
|
@@ -112,6 +116,10 @@ describe 'GnuTar provider', if: File.exist?('/test/GnuTar') do
|
|
112
116
|
describe 'tar.bz2' do
|
113
117
|
it_should_behave_like 'a poise_archive test', 'GnuTar/tar.bz2'
|
114
118
|
end
|
119
|
+
|
120
|
+
describe 'tar.xz' do
|
121
|
+
it_should_behave_like 'a poise_archive test', 'GnuTar/tar.xz'
|
122
|
+
end
|
115
123
|
end
|
116
124
|
|
117
125
|
describe 'Zip provider' do
|
@@ -120,6 +128,28 @@ describe 'Zip provider' do
|
|
120
128
|
end
|
121
129
|
end
|
122
130
|
|
131
|
+
describe 'SevenZip provider', if: File.exist?('/test/SevenZip') do
|
132
|
+
describe 'tar' do
|
133
|
+
it_should_behave_like 'a poise_archive test', 'SevenZip/tar'
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'tar.gz' do
|
137
|
+
it_should_behave_like 'a poise_archive test', 'SevenZip/tar.gz'
|
138
|
+
end
|
139
|
+
|
140
|
+
describe 'tar.bz2' do
|
141
|
+
it_should_behave_like 'a poise_archive test', 'SevenZip/tar.bz2'
|
142
|
+
end
|
143
|
+
|
144
|
+
describe 'tar.xz' do
|
145
|
+
it_should_behave_like 'a poise_archive test', 'SevenZip/tar.xz'
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'zip' do
|
149
|
+
it_should_behave_like 'a poise_archive test', 'SevenZip/zip'
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
123
153
|
describe 'core features' do
|
124
154
|
describe file('/test/keep/EXISTING') do
|
125
155
|
it { is_expected.to be_a_file }
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2016, Noah Kantrowitz
|
2
|
+
# Copyright 2016-2017, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -16,8 +16,6 @@
|
|
16
16
|
|
17
17
|
require 'spec_helper'
|
18
18
|
|
19
|
-
FIXTURES_PATH = File.expand_path('../../../cookbook/files', __FILE__)
|
20
|
-
|
21
19
|
describe PoiseArchive::ArchiveProviders::GnuTar do
|
22
20
|
step_into(:poise_archive)
|
23
21
|
let(:archive_provider) { chef_run.poise_archive('myapp').provider_for_action(:unpack) }
|
@@ -0,0 +1,151 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2017, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe PoiseArchive::ArchiveProviders::SevenZip do
|
20
|
+
step_into(:poise_archive)
|
21
|
+
let(:chefspec_options) { {platform: 'windows', version: '2012R2', file_cache_path: '/cache'} }
|
22
|
+
let(:archive_provider) { chef_run.poise_archive('myapp').provider_for_action(:unpack) }
|
23
|
+
before do
|
24
|
+
# Stub out some stuff from the base class.
|
25
|
+
allow(Dir).to receive(:entries).and_call_original
|
26
|
+
allow(Dir).to receive(:entries).with('/test/myapp').and_return(%w{. ..})
|
27
|
+
# Don't make real temp folders.
|
28
|
+
allow(described_class).to receive(:mktmpdir).and_yield('/poisetmp')
|
29
|
+
# Stub out what would be in the temp folder if unpacking worked.
|
30
|
+
allow(File).to receive(:directory?).and_call_original
|
31
|
+
allow(File).to receive(:directory?).with(/^\/poisetmp/) {|p| %w{/poisetmp /poisetmp/myapp-1.0.0 /poisetmp/myapp-1.0.0/bin /poisetmp/myapp-1.0.0/src}.include?(p) }
|
32
|
+
allow(Dir).to receive(:entries).with(/^\/poisetmp/) {|p| %w{. ..} + ({
|
33
|
+
'/poisetmp' => %w{myapp-1.0.0},
|
34
|
+
'/poisetmp/myapp-1.0.0' => %w{bin src LICENSE README},
|
35
|
+
'/poisetmp/myapp-1.0.0/bin' => %w{run.sh},
|
36
|
+
'/poisetmp/myapp-1.0.0/src' => %w{main.c},
|
37
|
+
}[p] || []) }
|
38
|
+
end
|
39
|
+
|
40
|
+
# Because there isn't a built-in matcher for this.
|
41
|
+
RSpec::Matchers.define :nothing_execute do |name|
|
42
|
+
match do |chef_run|
|
43
|
+
chef_run.execute(name).performed_actions == []
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
context 'with defaults' do
|
48
|
+
recipe do
|
49
|
+
poise_archive 'myapp' do
|
50
|
+
path "/test/myapp-1.0.0.tar"
|
51
|
+
destination '/test/myapp'
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
it do
|
56
|
+
expect_any_instance_of(described_class).to receive(:shell_out!).with('\\cache\\seven_zip_16.04\\7z.exe x -o"\\poisetmp" "\\test\\myapp-1.0.0.tar"')
|
57
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/bin', '/test/myapp/bin')
|
58
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/src', '/test/myapp/src')
|
59
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/LICENSE', '/test/myapp/LICENSE')
|
60
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/README', '/test/myapp/README')
|
61
|
+
run_chef
|
62
|
+
expect(archive_provider).to be_a described_class
|
63
|
+
expect(chef_run).to create_remote_file('/cache/7z1604-x64.exe').with(source: 'http://www.7-zip.org/a/7z1604-x64.exe')
|
64
|
+
expect(chef_run).to nothing_execute('\\cache\\7z1604-x64.exe /S /D=\\cache\\seven_zip_16.04')
|
65
|
+
end
|
66
|
+
end # /context with defaults
|
67
|
+
|
68
|
+
context 'with tar.gz archive' do
|
69
|
+
recipe do
|
70
|
+
poise_archive 'myapp' do
|
71
|
+
path "/test/myapp-1.0.0.tar.gz"
|
72
|
+
destination '/test/myapp'
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
it do
|
77
|
+
expect_any_instance_of(described_class).to receive(:shell_out!).with('\\cache\\seven_zip_16.04\\7z.exe x -so "\\test\\myapp-1.0.0.tar.gz" | \\cache\\seven_zip_16.04\\7z.exe x -si -ttar -o"\\poisetmp"')
|
78
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/bin', '/test/myapp/bin')
|
79
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/src', '/test/myapp/src')
|
80
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/LICENSE', '/test/myapp/LICENSE')
|
81
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/README', '/test/myapp/README')
|
82
|
+
run_chef
|
83
|
+
expect(archive_provider).to be_a described_class
|
84
|
+
end
|
85
|
+
end # /context with tar.gz archive
|
86
|
+
|
87
|
+
context 'with strip_components 0' do
|
88
|
+
recipe do
|
89
|
+
poise_archive 'myapp' do
|
90
|
+
path "/test/myapp-1.0.0.tar"
|
91
|
+
destination '/test/myapp'
|
92
|
+
strip_components 0
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
it do
|
97
|
+
expect_any_instance_of(described_class).to receive(:shell_out!).with('\\cache\\seven_zip_16.04\\7z.exe x -o"\\poisetmp" "\\test\\myapp-1.0.0.tar"')
|
98
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0', '/test/myapp/myapp-1.0.0')
|
99
|
+
run_chef
|
100
|
+
expect(archive_provider).to be_a described_class
|
101
|
+
end
|
102
|
+
end # /context with strip_components 0
|
103
|
+
|
104
|
+
context 'with strip_components 2' do
|
105
|
+
recipe do
|
106
|
+
poise_archive 'myapp' do
|
107
|
+
path "/test/myapp-1.0.0.tar"
|
108
|
+
destination '/test/myapp'
|
109
|
+
strip_components 2
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
it do
|
114
|
+
expect_any_instance_of(described_class).to receive(:shell_out!).with('\\cache\\seven_zip_16.04\\7z.exe x -o"\\poisetmp" "\\test\\myapp-1.0.0.tar"')
|
115
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/bin/run.sh', '/test/myapp/run.sh')
|
116
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/src/main.c', '/test/myapp/main.c')
|
117
|
+
run_chef
|
118
|
+
expect(archive_provider).to be_a described_class
|
119
|
+
end
|
120
|
+
end # /context with strip_components 2
|
121
|
+
|
122
|
+
context 'with user and group' do
|
123
|
+
recipe do
|
124
|
+
poise_archive 'myapp' do
|
125
|
+
path "/test/myapp-1.0.0.tar"
|
126
|
+
destination '/test/myapp'
|
127
|
+
user 'myuser'
|
128
|
+
group 'mygroup'
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
it do
|
133
|
+
expect_any_instance_of(described_class).to receive(:shell_out!).with('\\cache\\seven_zip_16.04\\7z.exe x -o"\\poisetmp" "\\test\\myapp-1.0.0.tar"')
|
134
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/bin', '/test/myapp/bin')
|
135
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/src', '/test/myapp/src')
|
136
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/LICENSE', '/test/myapp/LICENSE')
|
137
|
+
expect(File).to receive(:rename).with('/poisetmp/myapp-1.0.0/README', '/test/myapp/README')
|
138
|
+
allow(Dir).to receive(:[]).and_call_original
|
139
|
+
expect(Dir).to receive(:[]).with('/poisetmp/**/*').and_return(%w{/poisetmp/myapp-1.0.0 /poisetmp/myapp-1.0.0/bin /poisetmp/myapp-1.0.0/src /poisetmp/myapp-1.0.0/bin/run.sh /poisetmp/myapp-1.0.0/src/main.c /poisetmp/myapp-1.0.0/LICENSE /poisetmp/myapp-1.0.0/README})
|
140
|
+
run_chef
|
141
|
+
expect(archive_provider).to be_a described_class
|
142
|
+
expect(chef_run).to create_directory('/poisetmp/myapp-1.0.0').with(user: 'myuser', group: 'mygroup')
|
143
|
+
expect(chef_run).to create_directory('/poisetmp/myapp-1.0.0/bin').with(user: 'myuser', group: 'mygroup')
|
144
|
+
expect(chef_run).to create_directory('/poisetmp/myapp-1.0.0/src').with(user: 'myuser', group: 'mygroup')
|
145
|
+
expect(chef_run).to create_file('/poisetmp/myapp-1.0.0/bin/run.sh').with(user: 'myuser', group: 'mygroup')
|
146
|
+
expect(chef_run).to create_file('/poisetmp/myapp-1.0.0/src/main.c').with(user: 'myuser', group: 'mygroup')
|
147
|
+
expect(chef_run).to create_file('/poisetmp/myapp-1.0.0/LICENSE').with(user: 'myuser', group: 'mygroup')
|
148
|
+
expect(chef_run).to create_file('/poisetmp/myapp-1.0.0/README').with(user: 'myuser', group: 'mygroup')
|
149
|
+
end
|
150
|
+
end # /context with user and group
|
151
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2016, Noah Kantrowitz
|
2
|
+
# Copyright 2016-2017, Noah Kantrowitz
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -20,6 +20,7 @@ FIXTURES_PATH = File.expand_path('../../../cookbook/files', __FILE__)
|
|
20
20
|
|
21
21
|
describe PoiseArchive::ArchiveProviders::Tar do
|
22
22
|
step_into(:poise_archive)
|
23
|
+
let(:chefspec_options) { {platform: 'mac_os_x', version: '10.12'} }
|
23
24
|
let(:archive_provider) { chef_run.poise_archive('myapp').provider_for_action(:unpack) }
|
24
25
|
before do
|
25
26
|
expect(Dir).to receive(:mkdir).and_call_original
|
data/test/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poise-archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Kantrowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: chef
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '12.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '12.1'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: halite
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,10 +82,12 @@ files:
|
|
68
82
|
- LICENSE
|
69
83
|
- README.md
|
70
84
|
- Rakefile
|
85
|
+
- chef/attributes/default.rb
|
71
86
|
- lib/poise_archive.rb
|
72
87
|
- lib/poise_archive/archive_providers.rb
|
73
88
|
- lib/poise_archive/archive_providers/base.rb
|
74
89
|
- lib/poise_archive/archive_providers/gnu_tar.rb
|
90
|
+
- lib/poise_archive/archive_providers/seven_zip.rb
|
75
91
|
- lib/poise_archive/archive_providers/tar.rb
|
76
92
|
- lib/poise_archive/archive_providers/zip.rb
|
77
93
|
- lib/poise_archive/bzip2.rb
|
@@ -89,21 +105,39 @@ files:
|
|
89
105
|
- test/cookbook/files/myapp-1.0.0.tar
|
90
106
|
- test/cookbook/files/myapp-1.0.0.tar.bz2
|
91
107
|
- test/cookbook/files/myapp-1.0.0.tar.gz
|
108
|
+
- test/cookbook/files/myapp-1.0.0.tar.xz
|
92
109
|
- test/cookbook/files/myapp-1.0.0.zip
|
110
|
+
- test/cookbook/files/myapp-1.0.0/LICENSE
|
111
|
+
- test/cookbook/files/myapp-1.0.0/README
|
112
|
+
- test/cookbook/files/myapp-1.0.0/bin/run.sh
|
113
|
+
- test/cookbook/files/myapp-1.0.0/src/main.c
|
93
114
|
- test/cookbook/metadata.rb
|
94
115
|
- test/cookbook/recipes/default.rb
|
95
116
|
- test/docker/docker.ca
|
96
117
|
- test/docker/docker.pem
|
97
118
|
- test/gemfiles/chef-12.1.gemfile
|
119
|
+
- test/gemfiles/chef-12.10.gemfile
|
120
|
+
- test/gemfiles/chef-12.11.gemfile
|
121
|
+
- test/gemfiles/chef-12.12.gemfile
|
122
|
+
- test/gemfiles/chef-12.13.gemfile
|
123
|
+
- test/gemfiles/chef-12.14.gemfile
|
124
|
+
- test/gemfiles/chef-12.15.gemfile
|
125
|
+
- test/gemfiles/chef-12.16.gemfile
|
126
|
+
- test/gemfiles/chef-12.17.gemfile
|
127
|
+
- test/gemfiles/chef-12.18.gemfile
|
98
128
|
- test/gemfiles/chef-12.2.gemfile
|
99
129
|
- test/gemfiles/chef-12.3.gemfile
|
100
130
|
- test/gemfiles/chef-12.4.gemfile
|
101
131
|
- test/gemfiles/chef-12.5.gemfile
|
102
132
|
- test/gemfiles/chef-12.6.gemfile
|
133
|
+
- test/gemfiles/chef-12.7.gemfile
|
134
|
+
- test/gemfiles/chef-12.8.gemfile
|
135
|
+
- test/gemfiles/chef-12.9.gemfile
|
103
136
|
- test/gemfiles/chef-12.gemfile
|
104
137
|
- test/gemfiles/master.gemfile
|
105
138
|
- test/integration/default/serverspec/default_spec.rb
|
106
139
|
- test/spec/archive_providers/gnu_tar_spec.rb
|
140
|
+
- test/spec/archive_providers/seven_zip_spec.rb
|
107
141
|
- test/spec/archive_providers/tar_spec.rb
|
108
142
|
- test/spec/archive_providers/zip_spec.rb
|
109
143
|
- test/spec/resources/poise_archive_spec.rb
|
@@ -136,21 +170,39 @@ test_files:
|
|
136
170
|
- test/cookbook/files/myapp-1.0.0.tar
|
137
171
|
- test/cookbook/files/myapp-1.0.0.tar.bz2
|
138
172
|
- test/cookbook/files/myapp-1.0.0.tar.gz
|
173
|
+
- test/cookbook/files/myapp-1.0.0.tar.xz
|
139
174
|
- test/cookbook/files/myapp-1.0.0.zip
|
175
|
+
- test/cookbook/files/myapp-1.0.0/LICENSE
|
176
|
+
- test/cookbook/files/myapp-1.0.0/README
|
177
|
+
- test/cookbook/files/myapp-1.0.0/bin/run.sh
|
178
|
+
- test/cookbook/files/myapp-1.0.0/src/main.c
|
140
179
|
- test/cookbook/metadata.rb
|
141
180
|
- test/cookbook/recipes/default.rb
|
142
181
|
- test/docker/docker.ca
|
143
182
|
- test/docker/docker.pem
|
144
183
|
- test/gemfiles/chef-12.1.gemfile
|
184
|
+
- test/gemfiles/chef-12.10.gemfile
|
185
|
+
- test/gemfiles/chef-12.11.gemfile
|
186
|
+
- test/gemfiles/chef-12.12.gemfile
|
187
|
+
- test/gemfiles/chef-12.13.gemfile
|
188
|
+
- test/gemfiles/chef-12.14.gemfile
|
189
|
+
- test/gemfiles/chef-12.15.gemfile
|
190
|
+
- test/gemfiles/chef-12.16.gemfile
|
191
|
+
- test/gemfiles/chef-12.17.gemfile
|
192
|
+
- test/gemfiles/chef-12.18.gemfile
|
145
193
|
- test/gemfiles/chef-12.2.gemfile
|
146
194
|
- test/gemfiles/chef-12.3.gemfile
|
147
195
|
- test/gemfiles/chef-12.4.gemfile
|
148
196
|
- test/gemfiles/chef-12.5.gemfile
|
149
197
|
- test/gemfiles/chef-12.6.gemfile
|
198
|
+
- test/gemfiles/chef-12.7.gemfile
|
199
|
+
- test/gemfiles/chef-12.8.gemfile
|
200
|
+
- test/gemfiles/chef-12.9.gemfile
|
150
201
|
- test/gemfiles/chef-12.gemfile
|
151
202
|
- test/gemfiles/master.gemfile
|
152
203
|
- test/integration/default/serverspec/default_spec.rb
|
153
204
|
- test/spec/archive_providers/gnu_tar_spec.rb
|
205
|
+
- test/spec/archive_providers/seven_zip_spec.rb
|
154
206
|
- test/spec/archive_providers/tar_spec.rb
|
155
207
|
- test/spec/archive_providers/zip_spec.rb
|
156
208
|
- test/spec/resources/poise_archive_spec.rb
|