chef-handler-opsmatic 0.0.1 → 0.0.2
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/README.md +1 -1
- data/lib/chef/handler/opsmatic.rb +5 -0
- data/lib/chef/handler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7cf9a7089a3999599943f89e062dc383258cae24
|
|
4
|
+
data.tar.gz: de28ee179b1e77274ac15dde3ead501b914a308f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b98b300887a121cb461c085e24c4f4c2de38342200497a3ecefff27b13f4301fc7f07a3481815d206faab1f6a56db0a722a9c67db3ccaa5a7ee8b80f7bb2b8a
|
|
7
|
+
data.tar.gz: 020fadf1be1bea5a68bd7f084f3b4214aca016b82d79828bb5a3b0df84e82a585033061af6afc5192a149f34873999d9748731b2d97d71008e4c90e7dbf03108
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@ The chef-handler-opsmatic gem is a Chef report and exception handler
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
The easiest way to install this handler in your Chef environment is with the `handler`
|
|
8
|
-
recipe in the [
|
|
8
|
+
recipe in the [opsmatic-cookbook](https://github.com/opsmatic/opsmatic-cookbook) cookbook.
|
|
9
9
|
|
|
10
10
|
## Contributing
|
|
11
11
|
|
|
@@ -72,6 +72,11 @@ class Chef
|
|
|
72
72
|
http.read_timeout = 2
|
|
73
73
|
http.use_ssl = (url.scheme == 'https')
|
|
74
74
|
|
|
75
|
+
if not @config[:ssl_peer_verify]
|
|
76
|
+
# TODO: need to work out how to correctly find CA's on all platforms
|
|
77
|
+
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
|
78
|
+
end
|
|
79
|
+
|
|
75
80
|
request = Net::HTTP::Post.new(url.request_uri)
|
|
76
81
|
request["Content-Type"] = "application/json"
|
|
77
82
|
request.body = [event].to_json
|
data/lib/chef/handler/version.rb
CHANGED
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcus Barczak
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-06-
|
|
11
|
+
date: 2014-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|