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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c1150a88c8b08a9520d3a28a724d5a12c58ee9f
4
- data.tar.gz: 5c25d159b9492928484993df6a3736a79cbfb344
3
+ metadata.gz: d735dd1e2d0694273edd20dc9e3cac378124d4e4
4
+ data.tar.gz: c4d5586e3e5b959f5580d85df6e43537db2ddbb2
5
5
  SHA512:
6
- metadata.gz: 19e33adbed14606f8a02f54cb69f21c5c15dfde377145e1779c1b5c8099f327d2b3ecb3d5f278407c9bcb0b69fe1ec3f36eec6eceadada268e5fc9178cd91777
7
- data.tar.gz: 362c3195f6d0ae7fb4441eb0d4edf9dff91ad17a04496b85131bd2a3fd7569014e923227474e7f209bf1fae1fd5ca4fff0ee226965c9557f065d79133f9a7c96
6
+ metadata.gz: 7d009c450dd1bdb1e5477938a128af0dd7b9954083df098f4adad4e94e765ec6598781352b95c930281c28e029b68f8619539f69d8c7e8ba6a9d112ed2e7a340
7
+ data.tar.gz: 2d598f7806482a61c95a8a931d2f23a0f36b4ccbd96e0d900d6a1587f99670a9963898e67ff76970120175b800b424ef2fcf06d27b2d5b850b54674b92827561
@@ -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
- raise result[:exception]
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
- raise result1[:exception]
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
- raise result2[:exception]
139
+ return false
140
140
  end
141
141
 
142
142
  # build a reply
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-puppet"
3
- spec.version = "0.4.0"
3
+ spec.version = "0.4.1"
4
4
  spec.authors = ["Jonathan Gnagy"]
5
5
  spec.email = ["jgnagy@knuedge.com"]
6
6
  spec.description = "Some basic Puppet interactions for Lita"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Gnagy