chef-handler-opsmatic 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/handler/opsmatic.rb +3 -2
- data/lib/chef/handler/opsmatic_version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2771ed4836a7f21ab86a7f5df7cca8cd7cec697
|
4
|
+
data.tar.gz: 416cf114a34b2dbae865e79c3eaaddc3b4712fda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6ef7a5f3f53896745046bcf8c567f4ac674d8cb9b191edf8b59700343536cfa33c399ed217012206d7c0847b659ac4c8ed8303f6fb430c7fa81a5844422719b
|
7
|
+
data.tar.gz: fc56b7315485796b11834d874513d60083dbefeb9814c45a58ff9aa43ee6031cb6be63e7e164b85fea071a69b70d93d9e4b16b3b38a26d3324f18fe8d2eca85d
|
@@ -34,11 +34,12 @@ class Chef
|
|
34
34
|
opsmatic_event = {
|
35
35
|
:timestamp => run_status.end_time.to_i,
|
36
36
|
:source => 'chef_raw',
|
37
|
-
:subject_type => 'hostname',
|
38
|
-
:subject => node.fqdn,
|
39
37
|
:category => 'automation',
|
40
38
|
:type => 'cm/chef',
|
41
39
|
:summary => summary,
|
40
|
+
:scopes => {
|
41
|
+
:hostname => node.fqdn
|
42
|
+
},
|
42
43
|
:data => {
|
43
44
|
:status => run_status.success? ? "success" : "failure",
|
44
45
|
:start_time => run_status.start_time.to_i,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-opsmatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Opsmatic Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -124,3 +124,4 @@ summary: Chef report handler for sending run detail information to Opsmatic
|
|
124
124
|
test_files:
|
125
125
|
- spec/opsmatic_spec.rb
|
126
126
|
- spec/spec_helper.rb
|
127
|
+
has_rdoc:
|