lita-puppet 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/puppet.rb +3 -3
- data/lita-puppet.gemspec +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: d735dd1e2d0694273edd20dc9e3cac378124d4e4
|
4
|
+
data.tar.gz: c4d5586e3e5b959f5580d85df6e43537db2ddbb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d009c450dd1bdb1e5477938a128af0dd7b9954083df098f4adad4e94e765ec6598781352b95c930281c28e029b68f8619539f69d8c7e8ba6a9d112ed2e7a340
|
7
|
+
data.tar.gz: 2d598f7806482a61c95a8a931d2f23a0f36b4ccbd96e0d900d6a1587f99670a9963898e67ff76970120175b800b424ef2fcf06d27b2d5b850b54674b92827561
|
data/lib/lita/handlers/puppet.rb
CHANGED
@@ -56,7 +56,7 @@ module Lita
|
|
56
56
|
if result[:exception]
|
57
57
|
response.reply "#{username}, your `puppet cert clean` didn't seem to work... ;-("
|
58
58
|
response.reply "/code " + result[:exception].message
|
59
|
-
|
59
|
+
return false
|
60
60
|
end
|
61
61
|
|
62
62
|
# build a reply
|
@@ -118,7 +118,7 @@ module Lita
|
|
118
118
|
if result1[:exception]
|
119
119
|
response.reply "#{username}, your r10k run didn't seem to work. Looks like there was a problem with Git:"
|
120
120
|
response.reply "/code " + result1[:exception].message
|
121
|
-
|
121
|
+
return false
|
122
122
|
end
|
123
123
|
|
124
124
|
result2 = over_ssh(host: config.master_hostname, user: user) do |server|
|
@@ -136,7 +136,7 @@ module Lita
|
|
136
136
|
if result2[:exception]
|
137
137
|
response.reply "#{username}, your r10k run didn't seem to work... Maybe it timed out?"
|
138
138
|
response.reply "/code " + result2[:exception].message
|
139
|
-
|
139
|
+
return false
|
140
140
|
end
|
141
141
|
|
142
142
|
# build a reply
|
data/lita-puppet.gemspec
CHANGED