chef-handler-s3 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef/handler/s3.rb +2 -3
- metadata +2 -2
data/lib/chef/handler/s3.rb
CHANGED
@@ -13,7 +13,7 @@ require 'aws-sdk'
|
|
13
13
|
class Chef
|
14
14
|
class Handler
|
15
15
|
class S3 < ::Chef::Handler
|
16
|
-
VERSION = '0.1.
|
16
|
+
VERSION = '0.1.2'
|
17
17
|
|
18
18
|
attr_reader :config
|
19
19
|
|
@@ -53,8 +53,7 @@ class Chef
|
|
53
53
|
run_data = Hash.new
|
54
54
|
if run_status.failed?
|
55
55
|
Chef::Log.error("Creating JSON exception report")
|
56
|
-
run_data[:
|
57
|
-
run_data[:exception] = run_status.exception.split("\n")
|
56
|
+
run_data[:exception] = run_status.formatted_exception.split("\n")
|
58
57
|
run_data[:backtrace] = run_status.backtrace
|
59
58
|
else
|
60
59
|
Chef::Log.info("Creating JSON run report")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|