ruby-puppetdb 1.3.0 → 1.3.1
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/Modulefile +1 -1
- data/lib/puppet/parser/functions/query_facts.rb +1 -3
- 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: aba7f6158411e242655eebf248b2781132388060
|
|
4
|
+
data.tar.gz: 0502d3aba2a0b4c71b337da6a3a7eafa0139889b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de84f482477cfa03a05057eb14c55e8dea1be2d2034bfaa9722cabd986d025833b4136aa8ce4a12f016af8b7d04e3333d5cfd20eca392dea9c5ef5d74cf83609
|
|
7
|
+
data.tar.gz: 3b2cc8de48ea9f74213e9c1866d609bad5f7772afa31ea5d87c8a1eec1cf1775d16707376901dbed3298cf9a57eeb423313ab9434908dd28a5a484e23ff397c3
|
data/Modulefile
CHANGED
|
@@ -20,8 +20,6 @@ EOT
|
|
|
20
20
|
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'puppetdb/connection'))
|
|
21
21
|
|
|
22
22
|
puppetdb = PuppetDB::Connection.new(Puppet::Util::Puppetdb.server, Puppet::Util::Puppetdb.port)
|
|
23
|
-
if query.is_a? String
|
|
24
|
-
query = puppetdb.parse_query query
|
|
25
|
-
end
|
|
23
|
+
query = puppetdb.parse_query query, :facts if query.is_a? String
|
|
26
24
|
puppetdb.facts(facts, query)
|
|
27
25
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-puppetdb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Bode
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-06-
|
|
12
|
+
date: 2013-06-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|