chef-handler-opsmatic 0.0.15 → 0.0.16
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 +4 -4
- data/lib/chef/handler/opsmatic.rb +1 -0
- data/lib/chef/handler/opsmatic_version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 741e3a135a493d6d8a97030e63963a5950d67bc3
|
|
4
|
+
data.tar.gz: 8bb991d0996be597f0e6b817bfa47c2d5de49387
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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}")
|
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.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-
|
|
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:
|