lita-puppet 0.3.0 → 0.3.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: 57bbb8a20245057c75fdbc4b930e35f0402bc53d
4
- data.tar.gz: 246146da0825efad3b35fc05838a7a5ab1186bd0
3
+ metadata.gz: fc01d182f59a053388f0ebbab4e0dc6212b7ef18
4
+ data.tar.gz: 96d3ec8b6c30c7d32eec8511a4a08dc1afdb739a
5
5
  SHA512:
6
- metadata.gz: 41b578974acfb904c33f5042936e7b2812e6f1de86d2462355fcfb4cbefa003878e817eff8ad65da6b7f7abb633ebd5e252b743fd353f1cddfbf1c33e2dd195d
7
- data.tar.gz: d63d1ccce2367c89758658154daba0993be51e0cf6095fdd0181b92db6b12374f415409d9e08545a74a0e7a41b864b9ae56d84a7ffafac4b843c3a75daefb342
6
+ metadata.gz: 779595d2a15c640e635bb7598023e4a66d98d3b285e20a347e5622fc4b3f8288c7c5dc889a3d5e02654c19e8a6db0b8786233d16bb8bd8103197da6100c3ce25
7
+ data.tar.gz: 826ed7a4fddfdb30dca4e0021fda54305d6f101a0929451c1107320bd9a48b4df5d3ffbefb30e1f4e420edc4cf8113b8c545d125b0d445b96e361c4c2e27bf40
@@ -27,10 +27,13 @@ module Utils
27
27
  remote.disconnect
28
28
  end
29
29
 
30
- result[:exception] = exception
31
- result[:exit_status] = output.exit_status
32
- result[:stdout] = output.stdout
33
- result[:stderr] = output.stderr
30
+ if exception
31
+ result[:exception] = exception
32
+ else
33
+ result[:exit_status] = output.exit_status
34
+ result[:stdout] = output.stdout
35
+ result[:stderr] = output.stderr
36
+ end
34
37
  return result
35
38
  end
36
39
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-puppet"
3
- spec.version = "0.3.0"
3
+ spec.version = "0.3.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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Gnagy