chef-handler-opsmatic 0.0.16 → 0.0.17

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 741e3a135a493d6d8a97030e63963a5950d67bc3
4
- data.tar.gz: 8bb991d0996be597f0e6b817bfa47c2d5de49387
3
+ metadata.gz: d2771ed4836a7f21ab86a7f5df7cca8cd7cec697
4
+ data.tar.gz: 416cf114a34b2dbae865e79c3eaaddc3b4712fda
5
5
  SHA512:
6
- metadata.gz: fad84e010b029f15e071bd68670fcff517481e32bb2982f551599b0511c5f175fd3fa414d729bf6ce448478f7ccbf2b8bb2751219c12eaec339ab0a9484dd0b5
7
- data.tar.gz: f3bd9aaf1e6a79e2885c18c72ebd2a4bac894b746fdbb27c7fbfbdd5285e3d972f70337d47b52f92c17016676be6a2f7d860b18e934d2ae48a00d947910a180c
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,
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  class Handler
3
3
  class Opsmatic < ::Chef::Handler
4
- VERSION = "0.0.16"
4
+ VERSION = "0.0.17"
5
5
  end
6
6
  end
7
7
  end
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.16
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-03-30 00:00:00.000000000 Z
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: