chef-handler-opsmatic 0.0.15 → 0.0.16

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: 9cd290601d08ca313547fe3afe1ef4e467a5e166
4
- data.tar.gz: 1bf74ea6323c74099f49e9d1ea7d207a4a7bbbbf
3
+ metadata.gz: 741e3a135a493d6d8a97030e63963a5950d67bc3
4
+ data.tar.gz: 8bb991d0996be597f0e6b817bfa47c2d5de49387
5
5
  SHA512:
6
- metadata.gz: 449618778e86eb232dc76e8dadc66858207c3478ca8ab4df640f95926debd4b2d619c873d7283bb0a61353cbba7f69f8dcefabbf96cbd3ca5ff8626d9bf38801
7
- data.tar.gz: 797726fd4510c28053fcd7630f5742ebaff639c1f0353b03d81df73cd82fef89a4f583cfb12f90a0d8326d2b7a374deb5e0436c92f1f8de5717236f520ed30e3
6
+ metadata.gz: fad84e010b029f15e071bd68670fcff517481e32bb2982f551599b0511c5f175fd3fa414d729bf6ce448478f7ccbf2b8bb2751219c12eaec339ab0a9484dd0b5
7
+ data.tar.gz: f3bd9aaf1e6a79e2885c18c72ebd2a4bac894b746fdbb27c7fbfbdd5285e3d972f70337d47b52f92c17016676be6a2f7d860b18e934d2ae48a00d947910a180c
@@ -191,6 +191,7 @@ class Chef
191
191
  node_json = Chef::JSONCompat.to_json_pretty(data[:node])
192
192
  hash = JSON.parse(node_json)
193
193
  hash.delete("automatic")
194
+ hash["opsmatic_event_category"] = "automation"
194
195
  file_json = hash.to_json
195
196
  rescue Exception => msg
196
197
  Chef::Log.warn("An unhandled execption while preparing to write node data: #{msg}")
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  class Handler
3
3
  class Opsmatic < ::Chef::Handler
4
- VERSION = "0.0.15"
4
+ VERSION = "0.0.16"
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.15
4
+ version: 0.0.16
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-02-27 00:00:00.000000000 Z
11
+ date: 2015-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -124,4 +124,3 @@ 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: