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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f4f0c775e3fec7b961f4ebc74dbc6ce02dd844f
4
- data.tar.gz: e897db6be1413c14a9b5e11114a6f37fafe235c0
3
+ metadata.gz: 1c38b03265a83f70913afe7c6c499e970a28c378
4
+ data.tar.gz: 524613fef0e8e893b99b7633e6f4d7be7edf2bdb
5
5
  SHA512:
6
- metadata.gz: a6da9d937ea4aff4e30ce408ac78755fed97d7536290dd8752e141577e2a06b753476a742017f0326644725e936282ffce176b26e44c19addad0136f2f3578ee
7
- data.tar.gz: 9ebc9ea704fdcebb9fc74cecce1a086a13e181d3e85a6de33e0e9edda3a35dad0bb605ae8348bcfa3694ec576820a96a759fa86b8cbefa901c91332123e8cece
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
@@ -4,6 +4,6 @@
4
4
  #
5
5
  module BloombergLP
6
6
  module EventReportingHandler
7
- VERSION = '0.1.13'
7
+ VERSION = '0.1.14'
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event-reporting-handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shahul Khajamohideen