event-reporting-handler 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/event_reporting_handler/http_event_reporter.rb +1 -1
- data/lib/event_reporting_handler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c38b03265a83f70913afe7c6c499e970a28c378
|
4
|
+
data.tar.gz: 524613fef0e8e893b99b7633e6f4d7be7edf2bdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7a75fb94231399328c45a634590c1a2fc90da1e983ac159532b615304d683e20e880be00ed41144a00b15360a8ad74282f94b3f206b3bb7f58c64bd7e045ad0
|
7
|
+
data.tar.gz: 3b9491d0e12bbce3be970e21b1548231b48a8b0b2618ba06f41a90d8af372e66362be3f64654017e7d45b080c85eb9ab5eab6e713f4be46c7cd42e740d44b031
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ node.default['chef_client']['load_gems']['event-reporting-handler'] = {
|
|
20
20
|
node.default['chef_client']['config']['start_handlers'] = [
|
21
21
|
{
|
22
22
|
:class => "BloombergLP::EventReportingHandler::StartHandler",
|
23
|
-
:arguments => [ some_http_url, {dsn: some_sentry_dsn }]
|
23
|
+
:arguments => [ { url: some_http_url, whitelist_attributes: some_attribute_whitelist }, {dsn: some_sentry_dsn }]
|
24
24
|
}
|
25
25
|
]
|
26
26
|
```
|
@@ -12,7 +12,7 @@ module BloombergLP
|
|
12
12
|
class HttpEventReporter < Chef::EventDispatch::Base
|
13
13
|
def initialize(http_config, sentry_config, run_status)
|
14
14
|
@http_url = http_config['url']
|
15
|
-
@whitelist_attributes = Chef::Whitelist.filter(node, http_config['whitelist_attributes'])
|
15
|
+
@whitelist_attributes = Chef::Whitelist.filter(run_status.node, http_config['whitelist_attributes'])
|
16
16
|
@node = run_status.node
|
17
17
|
Raven.configure(true) do |config|
|
18
18
|
config.ssl_verification = sentry_config['verify_ssl'] || true
|