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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4f1373638d81e1102cb80dd0ff445a962d4df46
4
- data.tar.gz: fd524bd77803ed6c04f1bb7750191c59683594d2
3
+ metadata.gz: afe61c71abbc31de817e4366ac66c4677a8eaa9b
4
+ data.tar.gz: 538ab42f12b8f09887bd8d5bd89a3d57c6ecada7
5
5
  SHA512:
6
- metadata.gz: c47fa2ff5ca34fe28825d4dab595015393806c464f2946b6d6bb494ec4993a24739e634590ae7a1df01383cfb06a4b59a6b0796442a6f502883dad998d63754e
7
- data.tar.gz: 4fccac9bf5a680ebde09f6b286c2f2894b841872e123a088667db46a2c0d8e6f5f030341f5e5765c5729ea0801273aad1691233a92e0fc82e18baca1b57a7c17
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.3'
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.facts.to_data_hash
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fencing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - George McIntosh