fencing 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/fencing/facter_adapter.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afe61c71abbc31de817e4366ac66c4677a8eaa9b
|
4
|
+
data.tar.gz: 538ab42f12b8f09887bd8d5bd89a3d57c6ecada7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0889c2e99bc0e47d910196adccc209c8bed97452294eace88fcb79d563aefa90a3e66675351faf679fa67d3891e4510139b5a478fd283373215ed31a7327a9c
|
7
|
+
data.tar.gz: f44deec376f83299ab3c3bd761772e5506769b19402519fec4bdf6b9724aadfc3d5b0a72629d47d26578f4b88eafc0c4cf00126064dd2f578e93b88caffd819f
|
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ require 'rspec/core/rake_task'
|
|
11
11
|
|
12
12
|
spec = Gem::Specification.new do |gem|
|
13
13
|
gem.name = "fencing"
|
14
|
-
gem.version = '0.1.
|
14
|
+
gem.version = '0.1.4'
|
15
15
|
gem.authors = ["George McIntosh"]
|
16
16
|
gem.email = ["george@elevenware.com"]
|
17
17
|
gem.summary = %q{A Puppet ENC that releases config based on configuration}
|
@@ -14,7 +14,7 @@ module OS
|
|
14
14
|
def lookup(node_name, fact_name)
|
15
15
|
node_def = find_node_def(node_name)
|
16
16
|
node = YAML.load_file(node_def)
|
17
|
-
fact_list = node.
|
17
|
+
fact_list = node.to_data_hash
|
18
18
|
fact_result = fact_list['values'][fact_name]
|
19
19
|
raise "Fact #{fact_name} not found on node #{node_name}" if fact_result == nil
|
20
20
|
fact_result
|