poise-languages 2.1.1 → 2.1.2
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 +5 -5
- data/.travis.yml +25 -28
- data/CHANGELOG.md +5 -0
- data/lib/poise_languages/system/resource.rb +2 -2
- data/lib/poise_languages/version.rb +1 -1
- data/poise-languages.gemspec +1 -1
- data/test/gemfiles/{chef-12.13.gemfile → chef-12.20.gemfile} +2 -5
- data/test/gemfiles/{chef-12.12.gemfile → chef-12.21.gemfile} +2 -5
- data/test/gemfiles/chef-12.gemfile +1 -1
- data/test/gemfiles/{chef-12.1.gemfile → chef-13.1.gemfile} +2 -6
- data/test/gemfiles/{chef-12.2.gemfile → chef-13.2.gemfile} +2 -6
- data/test/gemfiles/chef-13.3.gemfile +19 -0
- data/test/gemfiles/chef-13.4.gemfile +19 -0
- data/test/gemfiles/chef-13.5.gemfile +19 -0
- data/test/gemfiles/chef-13.6.gemfile +19 -0
- data/test/gemfiles/chef-13.8.gemfile +19 -0
- data/test/gemfiles/chef-13.gemfile +1 -1
- data/test/gemfiles/chef-14.0.gemfile +19 -0
- data/test/gemfiles/chef-14.gemfile +19 -0
- data/test/spec/scl/mixin_spec.rb +8 -8
- data/test/spec/scl/resource_spec.rb +1 -1
- data/test/spec/system/mixin_spec.rb +6 -6
- data/test/spec/system/resource_spec.rb +20 -9
- metadata +29 -33
- data/test/gemfiles/chef-12.10.gemfile +0 -23
- data/test/gemfiles/chef-12.11.gemfile +0 -23
- data/test/gemfiles/chef-12.3.gemfile +0 -23
- data/test/gemfiles/chef-12.4.gemfile +0 -24
- data/test/gemfiles/chef-12.5.gemfile +0 -23
- data/test/gemfiles/chef-12.6.gemfile +0 -23
- data/test/gemfiles/chef-12.7.gemfile +0 -23
- data/test/gemfiles/chef-12.8.gemfile +0 -23
- data/test/gemfiles/chef-12.9.gemfile +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ca8c1d8ba10c780c67c7daa9548d66e23eb31b1316a97f93f48f87f7dd0f782b
|
4
|
+
data.tar.gz: 97f38ca7d2d546da2ce0460e631e3b6196d6b97272801597fa8c09f05b07120d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ba4cf78914cab726972c26cb3a9b3f213ee9131c077dd58296299322095984f5063b78357e66761d6e81719b9bffd852f6a4b79e2b359666c330ac16b469766
|
7
|
+
data.tar.gz: 04f2bb9a06eda824f1977edc251f57e43d8a575120041ff1413930e18de2e53e44e29d2cc09f41e7b84c9368a18e35e20686902d842cb704bd6fc2c21721b497
|
data/.travis.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
dist: trusty
|
1
2
|
sudo: false
|
2
3
|
cache: bundler
|
3
4
|
language: ruby
|
@@ -17,34 +18,12 @@ matrix:
|
|
17
18
|
include:
|
18
19
|
- rvm: 2.3.1
|
19
20
|
gemfile: test/gemfiles/chef-12.gemfile
|
20
|
-
- rvm: 2.4.
|
21
|
+
- rvm: 2.4.3
|
21
22
|
gemfile: test/gemfiles/chef-13.gemfile
|
22
|
-
- rvm: 2.1
|
23
|
-
gemfile: test/gemfiles/chef-
|
24
|
-
- rvm: 2.1
|
25
|
-
gemfile: test/gemfiles/
|
26
|
-
- rvm: 2.1.4
|
27
|
-
gemfile: test/gemfiles/chef-12.3.gemfile
|
28
|
-
- rvm: 2.1.6
|
29
|
-
gemfile: test/gemfiles/chef-12.4.gemfile
|
30
|
-
- rvm: 2.1.6
|
31
|
-
gemfile: test/gemfiles/chef-12.5.gemfile
|
32
|
-
- rvm: 2.1.6
|
33
|
-
gemfile: test/gemfiles/chef-12.6.gemfile
|
34
|
-
- rvm: 2.1.6
|
35
|
-
gemfile: test/gemfiles/chef-12.7.gemfile
|
36
|
-
- rvm: 2.1.6
|
37
|
-
gemfile: test/gemfiles/chef-12.8.gemfile
|
38
|
-
- rvm: 2.1.8
|
39
|
-
gemfile: test/gemfiles/chef-12.9.gemfile
|
40
|
-
- rvm: 2.1.8
|
41
|
-
gemfile: test/gemfiles/chef-12.10.gemfile
|
42
|
-
- rvm: 2.1.8
|
43
|
-
gemfile: test/gemfiles/chef-12.11.gemfile
|
44
|
-
- rvm: 2.1.8
|
45
|
-
gemfile: test/gemfiles/chef-12.12.gemfile
|
46
|
-
- rvm: 2.1.9
|
47
|
-
gemfile: test/gemfiles/chef-12.13.gemfile
|
23
|
+
- rvm: 2.5.1
|
24
|
+
gemfile: test/gemfiles/chef-14.gemfile
|
25
|
+
- rvm: 2.5.1
|
26
|
+
gemfile: test/gemfiles/master.gemfile
|
48
27
|
- rvm: 2.3.1
|
49
28
|
gemfile: test/gemfiles/chef-12.14.gemfile
|
50
29
|
- rvm: 2.3.1
|
@@ -57,7 +36,25 @@ matrix:
|
|
57
36
|
gemfile: test/gemfiles/chef-12.18.gemfile
|
58
37
|
- rvm: 2.3.1
|
59
38
|
gemfile: test/gemfiles/chef-12.19.gemfile
|
39
|
+
- rvm: 2.3.1
|
40
|
+
gemfile: test/gemfiles/chef-12.20.gemfile
|
41
|
+
- rvm: 2.3.1
|
42
|
+
gemfile: test/gemfiles/chef-12.21.gemfile
|
60
43
|
- rvm: 2.4.1
|
61
44
|
gemfile: test/gemfiles/chef-13.0.gemfile
|
62
45
|
- rvm: 2.4.1
|
63
|
-
gemfile: test/gemfiles/
|
46
|
+
gemfile: test/gemfiles/chef-13.1.gemfile
|
47
|
+
- rvm: 2.4.1
|
48
|
+
gemfile: test/gemfiles/chef-13.2.gemfile
|
49
|
+
- rvm: 2.4.1
|
50
|
+
gemfile: test/gemfiles/chef-13.3.gemfile
|
51
|
+
- rvm: 2.4.2
|
52
|
+
gemfile: test/gemfiles/chef-13.4.gemfile
|
53
|
+
- rvm: 2.4.2
|
54
|
+
gemfile: test/gemfiles/chef-13.5.gemfile
|
55
|
+
- rvm: 2.4.2
|
56
|
+
gemfile: test/gemfiles/chef-13.6.gemfile
|
57
|
+
- rvm: 2.4.3
|
58
|
+
gemfile: test/gemfiles/chef-13.8.gemfile
|
59
|
+
- rvm: 2.5.1
|
60
|
+
gemfile: test/gemfiles/chef-14.0.gemfile
|
data/CHANGELOG.md
CHANGED
@@ -233,8 +233,8 @@ module PoiseLanguages
|
|
233
233
|
each_package do |package_name, new_version, current_version, candidate_version|
|
234
234
|
# In Chef 12.14+, candidate_version is a Chef::Decorator::Lazy object
|
235
235
|
# so we need the nil? check to see if the object being proxied is
|
236
|
-
# nil (i.e. there is no version).
|
237
|
-
unless candidate_version && (!candidate_version.nil?) && (!candidate_version.empty?) && candidate_version.
|
236
|
+
# nil (i.e. there is no version). The `\d+:` is for RPM epoch prefixes.
|
237
|
+
unless candidate_version && (!candidate_version.nil?) && (!candidate_version.empty?) && candidate_version =~ /^(\d+:)?#{Regexp.escape(version)}/
|
238
238
|
# Don't display a wonky error message if there is no candidate.
|
239
239
|
candidate_label = if candidate_version && (!candidate_version.nil?) && (!candidate_version.empty?)
|
240
240
|
candidate_version
|
data/poise-languages.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
35
35
|
spec.require_paths = %w{lib}
|
36
36
|
|
37
|
-
spec.add_dependency 'chef', '>= 12.
|
37
|
+
spec.add_dependency 'chef', '>= 12.14', '< 15'
|
38
38
|
spec.add_dependency 'halite', '~> 1.0'
|
39
39
|
spec.add_dependency 'poise', '~> 2.5'
|
40
40
|
spec.add_dependency 'poise-archive', '~> 1.0'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright
|
2
|
+
# Copyright 2018, 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,7 +16,4 @@
|
|
16
16
|
|
17
17
|
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
18
|
|
19
|
-
gem 'chef', '~> 12.
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
19
|
+
gem 'chef', '~> 12.20.3'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright
|
2
|
+
# Copyright 2018, 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,7 +16,4 @@
|
|
16
16
|
|
17
17
|
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
18
|
|
19
|
-
gem 'chef', '~> 12.
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
19
|
+
gem 'chef', '~> 12.21.31'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright
|
2
|
+
# Copyright 2018, 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,4 @@
|
|
16
16
|
|
17
17
|
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
18
|
|
19
|
-
gem 'chef', '~>
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
19
|
+
gem 'chef', '~> 13.1.31'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright
|
2
|
+
# Copyright 2018, 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,4 @@
|
|
16
16
|
|
17
17
|
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
18
|
|
19
|
-
gem 'chef', '~>
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
19
|
+
gem 'chef', '~> 13.2.20'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2018, 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
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', '~> 13.3.42'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2018, 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
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', '~> 13.4.24'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2018, 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
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', '~> 13.5.3'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2018, 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
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', '~> 13.6.4'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2018, 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
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', '~> 13.8.0'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2018, 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
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', '~> 14.0.202'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2018, 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
|
+
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
+
|
19
|
+
gem 'chef', '~> 14.0'
|
data/test/spec/scl/mixin_spec.rb
CHANGED
@@ -86,7 +86,7 @@ describe PoiseLanguages::Scl::Mixin do
|
|
86
86
|
end # /describe #scl_package
|
87
87
|
|
88
88
|
describe '#scl_folder' do
|
89
|
-
let(:test_provider) { provider(:poise_test).new(
|
89
|
+
let(:test_provider) { provider(:poise_test).new(resource(:poise_test).new('test'), nil) }
|
90
90
|
subject { test_provider.send(:scl_folder) }
|
91
91
|
before do
|
92
92
|
allow(test_provider).to receive(:scl_package).and_return({name: 'python34'})
|
@@ -96,7 +96,7 @@ describe PoiseLanguages::Scl::Mixin do
|
|
96
96
|
end # /describe #scl_folder
|
97
97
|
|
98
98
|
describe '#scl_environment' do
|
99
|
-
let(:test_provider) { provider(:poise_test).new(
|
99
|
+
let(:test_provider) { provider(:poise_test).new(resource(:poise_test).new('test'), nil) }
|
100
100
|
subject { test_provider.send(:scl_environment) }
|
101
101
|
before do
|
102
102
|
allow(test_provider).to receive(:scl_package).and_return({name: 'python34'})
|
@@ -114,7 +114,7 @@ describe PoiseLanguages::Scl::Mixin do
|
|
114
114
|
allow(File).to receive(:exist?).with('/test/enable').and_return(true)
|
115
115
|
allow(IO).to receive(:readlines).with('/test/enable').and_return(content.split(/\n/))
|
116
116
|
end
|
117
|
-
subject { provider(:poise_test).new(
|
117
|
+
subject { provider(:poise_test).new(resource(:poise_test).new('test'), nil).send(:parse_enable_file, '/test/enable') }
|
118
118
|
|
119
119
|
context 'with an empty file' do
|
120
120
|
it { is_expected.to eq({}) }
|
@@ -220,7 +220,7 @@ EOH
|
|
220
220
|
subject { provider(:poise_test).send(:find_scl_package, chef_run.node, version) }
|
221
221
|
|
222
222
|
context 'on CentOS 7 with no version' do
|
223
|
-
let(:chefspec_options) { {platform: 'centos', version: '7.
|
223
|
+
let(:chefspec_options) { {platform: 'centos', version: '7.3.1611'} }
|
224
224
|
it do
|
225
225
|
is_expected.to include({
|
226
226
|
version: '3.4.2',
|
@@ -232,7 +232,7 @@ EOH
|
|
232
232
|
|
233
233
|
context 'on CentOS 7 with a version' do
|
234
234
|
let(:version) { '3.3' }
|
235
|
-
let(:chefspec_options) { {platform: 'centos', version: '7.
|
235
|
+
let(:chefspec_options) { {platform: 'centos', version: '7.3.1611'} }
|
236
236
|
it do
|
237
237
|
is_expected.to include({
|
238
238
|
version: '3.3.2',
|
@@ -243,7 +243,7 @@ EOH
|
|
243
243
|
end # /context on CentOS 7 with a version
|
244
244
|
|
245
245
|
context 'on CentOS 6 with no version' do
|
246
|
-
let(:chefspec_options) { {platform: 'centos', version: '6.
|
246
|
+
let(:chefspec_options) { {platform: 'centos', version: '6.8'} }
|
247
247
|
it do
|
248
248
|
is_expected.to include({
|
249
249
|
version: '3.3.2',
|
@@ -255,7 +255,7 @@ EOH
|
|
255
255
|
|
256
256
|
context 'on CentOS 6 with a version' do
|
257
257
|
let(:version) { '3.3' }
|
258
|
-
let(:chefspec_options) { {platform: 'centos', version: '6.
|
258
|
+
let(:chefspec_options) { {platform: 'centos', version: '6.8'} }
|
259
259
|
it do
|
260
260
|
is_expected.to include({
|
261
261
|
version: '3.3.2',
|
@@ -270,7 +270,7 @@ EOH
|
|
270
270
|
include described_class
|
271
271
|
scl_package('3.4.2', 'rh-python34')
|
272
272
|
end
|
273
|
-
let(:chefspec_options) { {platform: 'centos', version: '7.
|
273
|
+
let(:chefspec_options) { {platform: 'centos', version: '7.3.1611'} }
|
274
274
|
it do
|
275
275
|
is_expected.to include({
|
276
276
|
version: '3.4.2',
|
@@ -19,7 +19,7 @@ require 'spec_helper'
|
|
19
19
|
describe PoiseLanguages::Scl::Resource do
|
20
20
|
step_into(:poise_languages_scl)
|
21
21
|
step_into(:ruby_block)
|
22
|
-
let(:chefspec_options) { {platform: 'centos', version: '7.
|
22
|
+
let(:chefspec_options) { {platform: 'centos', version: '7.3.1611'} }
|
23
23
|
let(:yum_cache) { double('yum_cache', reload: nil) }
|
24
24
|
before do
|
25
25
|
allow(Chef::Provider::Package::Yum::YumCache).to receive(:instance).and_return(yum_cache)
|
@@ -114,14 +114,14 @@ describe PoiseLanguages::System::Mixin do
|
|
114
114
|
end # /describe #uninstall_system_packages
|
115
115
|
|
116
116
|
describe '#system_package_candidates' do
|
117
|
-
subject { provider(:poise_test).new(
|
117
|
+
subject { provider(:poise_test).new(resource(:poise_test).new('test'), nil).send(:system_package_candidates, '') }
|
118
118
|
it { expect { subject }.to raise_error NotImplementedError }
|
119
119
|
end # /describe #system_package_candidates
|
120
120
|
|
121
121
|
describe '#system_package_name' do
|
122
|
-
let(:chefspec_options) { {platform: 'debian', version: '7.
|
122
|
+
let(:chefspec_options) { {platform: 'debian', version: '7.11'} }
|
123
123
|
let(:version) { '' }
|
124
|
-
let(:test_provider) { provider(:poise_test).new(
|
124
|
+
let(:test_provider) { provider(:poise_test).new(resource(:poise_test).new('test'), chef_run.run_context) }
|
125
125
|
provider(:poise_test) do
|
126
126
|
include described_class
|
127
127
|
packages('python', {
|
@@ -166,7 +166,7 @@ describe PoiseLanguages::System::Mixin do
|
|
166
166
|
end # /context with version 2.6
|
167
167
|
|
168
168
|
context 'on an unknown platform' do
|
169
|
-
let(:chefspec_options) { {platform: 'centos', version: '7.
|
169
|
+
let(:chefspec_options) { {platform: 'centos', version: '7.3.1611'} }
|
170
170
|
it { is_expected.to eq 'python' }
|
171
171
|
end # /context on an unknown platform
|
172
172
|
|
@@ -184,7 +184,7 @@ describe PoiseLanguages::System::Mixin do
|
|
184
184
|
end # /describe #system_package_name
|
185
185
|
|
186
186
|
describe '#system_dev_package_overrides' do
|
187
|
-
subject { provider(:poise_test).new(
|
187
|
+
subject { provider(:poise_test).new(resource(:poise_test).new('test'), nil).send(:system_dev_package_overrides) }
|
188
188
|
it { is_expected.to eq({}) }
|
189
189
|
end # /describe #system_dev_package_overrides
|
190
190
|
|
@@ -196,7 +196,7 @@ describe PoiseLanguages::System::Mixin do
|
|
196
196
|
subject { provider(:poise_test).provides_auto?(chef_run.node, nil) }
|
197
197
|
|
198
198
|
context 'on CentOS' do
|
199
|
-
let(:chefspec_options) { {platform: 'centos', version: '7.
|
199
|
+
let(:chefspec_options) { {platform: 'centos', version: '7.3.1611'} }
|
200
200
|
it { is_expected.to be true }
|
201
201
|
end # /context on CentOS
|
202
202
|
|
@@ -156,16 +156,27 @@ EOH
|
|
156
156
|
end # /context on Ubuntu
|
157
157
|
|
158
158
|
context 'on CentOS' do
|
159
|
-
let(:chefspec_options) { {platform: 'centos', version: '7.
|
159
|
+
let(:chefspec_options) { {platform: 'centos', version: '7.3.1611'} }
|
160
160
|
before do
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
161
|
+
if defined?(Chef::Provider::Package::Yum::PythonHelper.instance)
|
162
|
+
# New-fangled PythonHelper (Chef 14+).
|
163
|
+
python_helper = double('PythonHelper')
|
164
|
+
allow(Chef::Provider::Package::Yum::PythonHelper).to receive(:instance).and_return(python_helper)
|
165
|
+
allow(python_helper).to receive(:package_query).with(:whatinstalled, 'mylang', version: nil, arch: nil).and_return(Chef::Provider::Package::Yum::Version.new('mylang', nil, nil))
|
166
|
+
allow(python_helper).to receive(:package_query).with(:whatinstalled, 'mylang-devel', version: nil, arch: nil).and_return(Chef::Provider::Package::Yum::Version.new('mylang-devel', nil, nil))
|
167
|
+
allow(python_helper).to receive(:package_query).with(:whatavailable, 'mylang', version: nil, arch: nil, options: nil).and_return(Chef::Provider::Package::Yum::Version.new('mylang', '0:1.2.3.el7', 'i386'))
|
168
|
+
allow(python_helper).to receive(:package_query).with(:whatavailable, 'mylang-devel', version: nil, arch: nil, options: nil).and_return(Chef::Provider::Package::Yum::Version.new('mylang-devel', '0:1.2.3.el7', 'i386'))
|
169
|
+
else
|
170
|
+
# Old-school yum cache.
|
171
|
+
yum_cache = double('YumCache')
|
172
|
+
allow(yum_cache).to receive(:yum_binary=)
|
173
|
+
allow(yum_cache).to receive(:disable_extra_repo_control)
|
174
|
+
allow(yum_cache).to receive(:package_available?).and_return(false)
|
175
|
+
allow(yum_cache).to receive(:package_available?).with(/^mylang(-devel)?$/).and_return(true)
|
176
|
+
allow(yum_cache).to receive(:installed_version).with(/^mylang(-devel)?$/, nil).and_return(nil)
|
177
|
+
allow(yum_cache).to receive(:candidate_version).with(/^mylang(-devel)?$/, nil).and_return('1.2.3')
|
178
|
+
allow(Chef::Provider::Package::Yum::YumCache).to receive(:instance).and_return(yum_cache)
|
179
|
+
end
|
169
180
|
end
|
170
181
|
|
171
182
|
context 'action :install' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poise-languages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
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: 2018-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '12.
|
19
|
+
version: '12.14'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '15'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '12.
|
29
|
+
version: '12.14'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '15'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: halite
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,28 +121,26 @@ files:
|
|
121
121
|
- poise-languages.gemspec
|
122
122
|
- test/docker/docker.ca
|
123
123
|
- test/docker/docker.pem
|
124
|
-
- test/gemfiles/chef-12.1.gemfile
|
125
|
-
- test/gemfiles/chef-12.10.gemfile
|
126
|
-
- test/gemfiles/chef-12.11.gemfile
|
127
|
-
- test/gemfiles/chef-12.12.gemfile
|
128
|
-
- test/gemfiles/chef-12.13.gemfile
|
129
124
|
- test/gemfiles/chef-12.14.gemfile
|
130
125
|
- test/gemfiles/chef-12.15.gemfile
|
131
126
|
- test/gemfiles/chef-12.16.gemfile
|
132
127
|
- test/gemfiles/chef-12.17.gemfile
|
133
128
|
- test/gemfiles/chef-12.18.gemfile
|
134
129
|
- test/gemfiles/chef-12.19.gemfile
|
135
|
-
- test/gemfiles/chef-12.
|
136
|
-
- test/gemfiles/chef-12.
|
137
|
-
- test/gemfiles/chef-12.4.gemfile
|
138
|
-
- test/gemfiles/chef-12.5.gemfile
|
139
|
-
- test/gemfiles/chef-12.6.gemfile
|
140
|
-
- test/gemfiles/chef-12.7.gemfile
|
141
|
-
- test/gemfiles/chef-12.8.gemfile
|
142
|
-
- test/gemfiles/chef-12.9.gemfile
|
130
|
+
- test/gemfiles/chef-12.20.gemfile
|
131
|
+
- test/gemfiles/chef-12.21.gemfile
|
143
132
|
- test/gemfiles/chef-12.gemfile
|
144
133
|
- test/gemfiles/chef-13.0.gemfile
|
134
|
+
- test/gemfiles/chef-13.1.gemfile
|
135
|
+
- test/gemfiles/chef-13.2.gemfile
|
136
|
+
- test/gemfiles/chef-13.3.gemfile
|
137
|
+
- test/gemfiles/chef-13.4.gemfile
|
138
|
+
- test/gemfiles/chef-13.5.gemfile
|
139
|
+
- test/gemfiles/chef-13.6.gemfile
|
140
|
+
- test/gemfiles/chef-13.8.gemfile
|
145
141
|
- test/gemfiles/chef-13.gemfile
|
142
|
+
- test/gemfiles/chef-14.0.gemfile
|
143
|
+
- test/gemfiles/chef-14.gemfile
|
146
144
|
- test/gemfiles/master.gemfile
|
147
145
|
- test/spec/command/mixin_spec.rb
|
148
146
|
- test/spec/scl/mixin_spec.rb
|
@@ -174,35 +172,33 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
172
|
version: '0'
|
175
173
|
requirements: []
|
176
174
|
rubyforge_project:
|
177
|
-
rubygems_version: 2.6
|
175
|
+
rubygems_version: 2.7.6
|
178
176
|
signing_key:
|
179
177
|
specification_version: 4
|
180
178
|
summary: A Chef cookbook to help writing language cookbooks.
|
181
179
|
test_files:
|
182
180
|
- test/docker/docker.ca
|
183
181
|
- test/docker/docker.pem
|
184
|
-
- test/gemfiles/chef-12.1.gemfile
|
185
|
-
- test/gemfiles/chef-12.10.gemfile
|
186
|
-
- test/gemfiles/chef-12.11.gemfile
|
187
|
-
- test/gemfiles/chef-12.12.gemfile
|
188
|
-
- test/gemfiles/chef-12.13.gemfile
|
189
182
|
- test/gemfiles/chef-12.14.gemfile
|
190
183
|
- test/gemfiles/chef-12.15.gemfile
|
191
184
|
- test/gemfiles/chef-12.16.gemfile
|
192
185
|
- test/gemfiles/chef-12.17.gemfile
|
193
186
|
- test/gemfiles/chef-12.18.gemfile
|
194
187
|
- test/gemfiles/chef-12.19.gemfile
|
195
|
-
- test/gemfiles/chef-12.
|
196
|
-
- test/gemfiles/chef-12.
|
197
|
-
- test/gemfiles/chef-12.4.gemfile
|
198
|
-
- test/gemfiles/chef-12.5.gemfile
|
199
|
-
- test/gemfiles/chef-12.6.gemfile
|
200
|
-
- test/gemfiles/chef-12.7.gemfile
|
201
|
-
- test/gemfiles/chef-12.8.gemfile
|
202
|
-
- test/gemfiles/chef-12.9.gemfile
|
188
|
+
- test/gemfiles/chef-12.20.gemfile
|
189
|
+
- test/gemfiles/chef-12.21.gemfile
|
203
190
|
- test/gemfiles/chef-12.gemfile
|
204
191
|
- test/gemfiles/chef-13.0.gemfile
|
192
|
+
- test/gemfiles/chef-13.1.gemfile
|
193
|
+
- test/gemfiles/chef-13.2.gemfile
|
194
|
+
- test/gemfiles/chef-13.3.gemfile
|
195
|
+
- test/gemfiles/chef-13.4.gemfile
|
196
|
+
- test/gemfiles/chef-13.5.gemfile
|
197
|
+
- test/gemfiles/chef-13.6.gemfile
|
198
|
+
- test/gemfiles/chef-13.8.gemfile
|
205
199
|
- test/gemfiles/chef-13.gemfile
|
200
|
+
- test/gemfiles/chef-14.0.gemfile
|
201
|
+
- test/gemfiles/chef-14.gemfile
|
206
202
|
- test/gemfiles/master.gemfile
|
207
203
|
- test/spec/command/mixin_spec.rb
|
208
204
|
- test/spec/scl/mixin_spec.rb
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2016-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.10.24'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2016-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.11.18'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2015-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.3.0'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
@@ -1,24 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2015-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.4.3'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'gh', '0.14.0'
|
24
|
-
gem 'rack', '< 2'
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2015-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.5.1'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2015-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.6.0'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2015-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.7.2'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2015-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.8.1'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2016-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
|
-
eval_gemfile File.expand_path('../../../Gemfile', __FILE__)
|
18
|
-
|
19
|
-
gem 'chef', '~> 12.9.41'
|
20
|
-
gem 'chefspec', '< 6'
|
21
|
-
gem 'fauxhai', '<= 3.9.0'
|
22
|
-
gem 'foodcritic', '< 8'
|
23
|
-
gem 'rack', '< 2'
|