chef-silent 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/lib/chef/silent/monkey_patches.rb +1 -1
- data/lib/chef/silent/silent_formatters.rb +4 -3
- data/lib/chef/silent/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -71,13 +71,14 @@ class Chef
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def resource_updated(resource, action)
|
74
|
-
if resource.class == Chef::Resource::File
|
74
|
+
if resource.class == Chef::Resource::File || resource.class == Chef::Resource::Template
|
75
75
|
if resource.diff
|
76
|
-
print "
|
76
|
+
print "=" * 80 + "\n"
|
77
77
|
ColorDiff.print_diff resource.diff.split('\n')
|
78
|
-
print "\n"
|
78
|
+
print "=" * 80 + "\n"
|
79
79
|
end
|
80
80
|
end
|
81
|
+
updated_resources << resource
|
81
82
|
end
|
82
83
|
|
83
84
|
def display_error(description)
|
data/lib/chef/silent/version.rb
CHANGED