quixoten-puppetdb-terminus 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/puppet/reports/puppetdb.rb +3 -1
- data/lib/puppetdb/terminus/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: 7aa4bc6cb2627bca304815366215d1dff7427961
|
4
|
+
data.tar.gz: c70adb93ab5eb78e16d36c58d8c9462411128e5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6169226782d237dc91613298c5805997c4d2c577e0ec9ed170e42fdac63e3373f0e917059f860c64c57cddea5c8c9dae664e63edcbda8be0677ad6b2cadd8c1e
|
7
|
+
data.tar.gz: fd3ad247f16fc48649762e9343b1ae8654f277ae1edb7929aa38f496a5e1a3b4a7db2214dac96d244bea78db7bd5b50c1283bf64b82113c06a7ee8c295b0add6
|
@@ -38,7 +38,9 @@ Puppet::Reports.register_report(:puppetdb) do
|
|
38
38
|
end
|
39
39
|
|
40
40
|
resources = build_resources_list
|
41
|
-
is_noop = defined?(noop)
|
41
|
+
is_noop = (defined?(noop) && (not noop.nil?)) ?
|
42
|
+
noop :
|
43
|
+
resources.any? { |rs| has_noop_event?(rs) } && resources.none? { |rs| has_enforcement_event?(rs) }
|
42
44
|
|
43
45
|
defaulted_catalog_uuid = defined?(catalog_uuid) ? catalog_uuid : transaction_uuid
|
44
46
|
defaulted_code_id = defined?(code_id) ? code_id : nil
|