amiral 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ module Amiral
4
4
  module Providers
5
5
  class PuppetUpdate
6
6
  def execute message
7
- out = err = short = nil
7
+ out = err = short = status = nil
8
8
 
9
9
  modname = ""
10
10
  if message['command']['args'].length > 0
@@ -18,11 +18,13 @@ module Amiral
18
18
  }
19
19
  short = "unknown status"
20
20
  end
21
+
21
22
  if status.exitstatus == 0
22
23
  short = "updated puppet and modules"
23
24
  else
24
25
  short = "encountered errors while updating puppet"
25
26
  end
27
+
26
28
  {
27
29
  :exit => status.exitstatus,
28
30
  :status => status,
@@ -1,3 +1,3 @@
1
1
  module Amiral
2
- VERSION = '0.1.14'
2
+ VERSION = '0.1.15'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amiral
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: