chef-validation 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/chef/validation/version.rb +1 -1
- data/recipes/default.rb +13 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9aeb12ca1436351478eecc3b980ee34faf64f81c
|
4
|
+
data.tar.gz: 11d17d8eb52e2f20c232c8cba17be7b31b4f4de1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a05cb9f974c058adb986a50a6914b3b34eb2f0ec30dae1a04c81816c53c05fe0ec999e063181dd478e1e09b062cbc39b647f9323d352b42d8863f507dc543386
|
7
|
+
data.tar.gz: 8449b1c2612cd771494b8b02d7a087b68849f93ccf1300f160afe2038dc3d8ab1f1e565d6ca5f3b16684269c23de2a439a3fe2dd07bfefb9958c025c282965fd
|
data/CHANGELOG.md
CHANGED
data/recipes/default.rb
CHANGED
@@ -7,10 +7,18 @@
|
|
7
7
|
# Copyright (c) 2014 Jamie Winsor
|
8
8
|
#
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
if Chef::Resource::ChefGem.instance_methods(false).include?(:compile_time)
|
11
|
+
chef_gem "chef-validation" do
|
12
|
+
version Chef::Validation.cookbook_version(node)
|
13
|
+
options "--ignore-dependencies"
|
14
|
+
compile_time true
|
15
|
+
end
|
16
|
+
else
|
17
|
+
chef_gem "chef-validation" do
|
18
|
+
version Chef::Validation.cookbook_version(node)
|
19
|
+
options "--ignore-dependencies"
|
20
|
+
action :nothing
|
21
|
+
end.run_action(:install)
|
22
|
+
end
|
15
23
|
|
16
24
|
require "chef-validation"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-validation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Winsor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|