puppetdb_query 0.0.34 → 0.0.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/puppetdb_query/updater.rb +2 -2
- data/lib/puppetdb_query/version.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: 48c72811aebb550140681751671558a1c3024cde
|
4
|
+
data.tar.gz: 7efcabf91e3db2aaafb043d02fc548d8cd20f873
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c3ffd521101cdf1e0dbfde42884ae7202ce4b07d670d6c46b9255d055964af7ba33a9fd093f022fe01eb25805fd0fe1fb9ab881aa46baaa45b2c0c41bc352b5
|
7
|
+
data.tar.gz: b7a086fe767dab557be2ac3906508900194b7ef1fcd62cc32bf4412b62277b2e00e4fc95a78414d5aaff5d1a269bed89ad9a7478ddac67184036ef87128526f7
|
@@ -49,7 +49,7 @@ module PuppetDBQuery
|
|
49
49
|
logger.info "update2 started (full update)"
|
50
50
|
tsb = Time.now
|
51
51
|
source_nodes = source_node_properties.keys
|
52
|
-
destination_nodes = destination.
|
52
|
+
destination_nodes = destination.all_nodes
|
53
53
|
delete_missing(destination_nodes, source_nodes)
|
54
54
|
errors = false
|
55
55
|
complete = source.facts
|
@@ -75,7 +75,7 @@ module PuppetDBQuery
|
|
75
75
|
logger.info "update3 started (incremental)"
|
76
76
|
tsb = Time.now
|
77
77
|
source_nodes = source_node_properties.keys
|
78
|
-
destination_nodes = destination.
|
78
|
+
destination_nodes = destination.all_nodes
|
79
79
|
delete_missing(destination_nodes, source_nodes)
|
80
80
|
errors = false
|
81
81
|
modified = source.nodes_update_facts_since(last_update_timestamp)
|