chef-handler-updated-resources 0.2.0 → 0.3.0
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/lib/chef/handler/updated_resources.rb +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95be6ea7ec194c21707ce65a2b0eea7e193e4efe
|
|
4
|
+
data.tar.gz: 2535b26d26f50779b6bae1b1de6490d4e58f766a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b13070517bd948d5014d5ecb7189a6e0256403993aa71bc64acd9361b6f5dee1f50909864b68d75a15ad13c29ff6b122a4f050cc82df9faafb73c51693c2ef5
|
|
7
|
+
data.tar.gz: 9bef33ebd1adf0af4b49c1b852b993513672162e5224b7d647f0419a5674af30a205efc086e6e8a7bbffa3659ef768a8afdcce84b004defe8e685f5db1243c8d
|
|
@@ -24,8 +24,12 @@ module SimpleReport
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def report
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
if run_status.updated_resources
|
|
28
|
+
Chef::Log.info "Resources updated this run:"
|
|
29
|
+
run_status.updated_resources.each {|r| Chef::Log.info "#{@line_prefix}#{r.to_s}"}
|
|
30
|
+
else
|
|
31
|
+
Chef::Log.info "No Resources updated this run!"
|
|
32
|
+
end
|
|
29
33
|
end
|
|
30
34
|
end
|
|
31
35
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chef-handler-updated-resources
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua Timberman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Chef report handler to display resources updated in the Chef Run
|
|
14
14
|
email: opensource@housepub.org
|
|
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
38
38
|
version: '0'
|
|
39
39
|
requirements: []
|
|
40
40
|
rubyforge_project:
|
|
41
|
-
rubygems_version: 2.4.
|
|
41
|
+
rubygems_version: 2.4.8
|
|
42
42
|
signing_key:
|
|
43
43
|
specification_version: 4
|
|
44
44
|
summary: Chef report handler to display resources updated in the Chef Run
|