chef-rabbit 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/chef/rabbit.rb +8 -3
- data/lib/chef/rabbit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjE3MjViOWYzZTAwYjIwYjA5ZTFkMDVmMWU4M2IxM2UzMGU1ZDNhYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzJmNmY0MGRkNzNmN2I1YTNjMzQ2ZmMwZWRjZWExZTAzNDM1MDNhNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWUwYzU2YjY4MWE3NDg1ODBmM2YzNTZiZjhkMWIwMWYzM2U3ODZmNjJiYWVm
|
10
|
+
Mzg3ZmQ1NWZkYzVjNzBjMGZlZjFiMDI5ZGNkMjU2OTJjMjJkY2M1ZDY3YjZl
|
11
|
+
Y2E1MWVjNDVkZjllOTkzZWMyMzkxNTNhNDUwZmMwMTBlYTVkZjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTJhNTliMTFhNjJmMDVlOTUzODJjMmMzYzg0MTM4ZDI1YmVkYzc0M2UxOTZi
|
14
|
+
NTdiZTBiMWU3Yzk5YmE2MGQzYzJkOTIxY2I1OGFhNzE2ODBmOTVlZTdjYTNi
|
15
|
+
MDgyNzc5ZWRjNmUyZTdmMzE5YzRhNzFmNDhkNjM5YzAxZTg4YmU=
|
data/lib/chef/rabbit.rb
CHANGED
@@ -81,11 +81,16 @@ class Chef
|
|
81
81
|
def changes
|
82
82
|
@changes unless @changes.nil?
|
83
83
|
|
84
|
-
|
85
|
-
|
84
|
+
processed_changes = sanitised_changes
|
85
|
+
lines = nil
|
86
|
+
|
87
|
+
if processed_changes != nil
|
88
|
+
lines = processed_changes.collect do |resource|
|
89
|
+
"recipe[#{resource.cookbook_name}::#{resource.recipe_name}] ran '#{resource.action}' on #{resource.resource_name} '#{resource.name}'"
|
90
|
+
end
|
86
91
|
end
|
87
92
|
|
88
|
-
count = lines.size
|
93
|
+
count = (lines == nil) ? 0 : lines.size
|
89
94
|
|
90
95
|
message = if count > 0
|
91
96
|
"Updated #{count} resources:\n\n#{lines.join("\n")}"
|
data/lib/chef/rabbit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-rabbit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MTN Satellite Communications
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|