chef-handler-datadog 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +12 -9
- data/Appraisals +3 -19
- data/CHANGELOG.md +14 -0
- data/Gemfile +2 -1
- data/README.md +1 -1
- data/Rakefile +4 -2
- data/chef-handler-datadog.gemspec +8 -7
- data/gemfiles/{chef_10.14.4.gemfile → chef_12.7.gemfile} +1 -2
- data/gemfiles/{chef_10.gemfile → chef_13.gemfile} +1 -1
- data/gemfiles/{chef_11.gemfile → chef_14.gemfile} +1 -3
- data/lib/chef/handler/datadog.rb +15 -5
- data/lib/chef/handler/datadog_chef_events.rb +11 -11
- data/lib/chef/handler/datadog_chef_metrics.rb +3 -1
- data/lib/chef/handler/datadog_chef_tags.rb +2 -2
- data/lib/chef_handler_datadog.rb +1 -1
- data/spec/datadog_spec.rb +15 -15
- metadata +22 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dd86897a24daf515f2dd761fb3e536ea263cf61eff54bb25cb2ef3197e323348
|
4
|
+
data.tar.gz: 997079934b33e8f4fc937df99bad956b15c9888af8c3a19d2eb5ca69440b6e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3091cd56f9d844bd4b9ec6d7d271eff79faa89729b94513d17a84758dd53b1da5f3a0372b9c8be746c118c8d5ecc998346d72f465b02a671c06cf8f97b2203f8
|
7
|
+
data.tar.gz: 22243c1c9910cbb75f65066fee99c6d4f310b63657381dbf4d451a9dd334d321bcd10aa49b10974b16c652c783a47eeb4c604d56436d7900cb004902a1d58b35
|
data/.travis.yml
CHANGED
@@ -3,29 +3,32 @@ cache: bundler
|
|
3
3
|
sudo: false
|
4
4
|
|
5
5
|
rvm:
|
6
|
-
|
7
|
-
|
6
|
+
# Note that Chef 12.0 shipped for Ruby 2.0 for Windows and 2.1 for Linux/mac
|
7
|
+
# but we need a more recent ruby to run the tests with our deps.
|
8
|
+
- 2.3.1
|
9
|
+
# Chef 13.0 shipped with Ruby 2.4.1
|
10
|
+
- 2.4.1
|
11
|
+
- 2.5.0
|
8
12
|
|
9
13
|
before_install:
|
10
14
|
- gem update --system
|
11
15
|
- gem --version
|
12
|
-
# Use the latest bundler
|
13
16
|
- gem install bundler
|
14
17
|
|
15
18
|
bundler_args: --without=localdev
|
16
19
|
|
17
20
|
gemfile:
|
18
|
-
- gemfiles/chef_10.14.4.gemfile
|
19
|
-
- gemfiles/chef_10.gemfile
|
20
|
-
- gemfiles/chef_11.gemfile
|
21
21
|
- gemfiles/chef_12.gemfile
|
22
|
+
- gemfiles/chef_12.7.gemfile
|
23
|
+
- gemfiles/chef_13.gemfile
|
24
|
+
- gemfiles/chef_14.gemfile
|
22
25
|
|
23
26
|
env:
|
24
27
|
- API_KEY=somefakeapikey APPLICATION_KEY=somefakeapplicationkey
|
25
28
|
|
26
29
|
matrix:
|
27
30
|
exclude:
|
28
|
-
#
|
29
|
-
- rvm:
|
30
|
-
gemfile: gemfiles/
|
31
|
+
# Ruby 2.4.1 minimum for Chef 14
|
32
|
+
- rvm: 2.3.1
|
33
|
+
gemfile: gemfiles/chef_14.gemfile
|
31
34
|
allow_failures:
|
data/Appraisals
CHANGED
@@ -1,24 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Latest release of mainline Chef versions here.
|
4
|
-
%w
|
4
|
+
%w[12 12.7 13 14].each do |tv|
|
5
5
|
appraise "chef-#{tv}" do
|
6
|
-
gem 'chef', "~> #{tv}
|
6
|
+
gem 'chef', "~> #{tv}"
|
7
7
|
end
|
8
8
|
end
|
9
|
-
|
10
|
-
# Describe any specific Chef versions here.
|
11
|
-
appraise 'chef-10.14.4' do
|
12
|
-
gem 'chef', '10.14.4'
|
13
|
-
# Old versions of Chef didn't pin the max version of Ohai they supported.
|
14
|
-
# See: http://git.io/vecAn
|
15
|
-
gem 'ohai', '< 8.0'
|
16
|
-
end
|
17
|
-
|
18
|
-
appraise 'chef-11' do
|
19
|
-
gem 'chef', '~> 11.0'
|
20
|
-
# for some reason bundler installs json 2.x and rack 2.x even when they don't support the version of
|
21
|
-
# ruby installed, so let's force compatible versions here
|
22
|
-
gem 'json', '< 2.0'
|
23
|
-
gem 'rack', '< 2.0'
|
24
|
-
end
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
Changes
|
2
2
|
=======
|
3
3
|
|
4
|
+
# 0.12.0 / 2019-05-27
|
5
|
+
|
6
|
+
**This version drops the support of Chef < 12.7**
|
7
|
+
|
8
|
+
* [FEATURE] Support `site` configuration option to use either datadoghq.com or datadoghq.eu [#103][] [@remeh][]
|
9
|
+
* [OPTIMIZE] Drop support of Chef < 12.7 and clean up for Chef 13, 14 and 15 compatibility. [#101][] [#104][] [@martinisoft][]
|
10
|
+
* [BUGFIX] Improve error handling and logging when submitting data. [#102][] [@olivielpeau][]
|
11
|
+
|
4
12
|
# 0.11.0 / 2017-02-21
|
5
13
|
|
6
14
|
* [FEATURE] Send policy name and group tags if they exist (opt-in) [#90][] & [#97][] [@david-ds][] & [@olivielpeau][]
|
@@ -110,6 +118,10 @@ And all other versions were prior to this. See git history for more.
|
|
110
118
|
[#93]: https://github.com/DataDog/chef-handler-datadog/issues/93
|
111
119
|
[#96]: https://github.com/DataDog/chef-handler-datadog/issues/96
|
112
120
|
[#97]: https://github.com/DataDog/chef-handler-datadog/issues/97
|
121
|
+
[#101]: https://github.com/DataDog/chef-handler-datadog/issues/101
|
122
|
+
[#102]: https://github.com/DataDog/chef-handler-datadog/issues/102
|
123
|
+
[#103]: https://github.com/DataDog/chef-handler-datadog/issues/103
|
124
|
+
[#104]: https://github.com/DataDog/chef-handler-datadog/issues/104
|
113
125
|
[@ABrehm264]: https://github.com/ABrehm264
|
114
126
|
[@DanielMuller]: https://github.com/DanielMuller
|
115
127
|
[@DanielRedOak]: https://github.com/DanielRedOak
|
@@ -123,9 +135,11 @@ And all other versions were prior to this. See git history for more.
|
|
123
135
|
[@dwradcliffe]: https://github.com/dwradcliffe
|
124
136
|
[@jhulten]: https://github.com/jhulten
|
125
137
|
[@kingpong]: https://github.com/kingpong
|
138
|
+
[@martinisoft]: https://github.com/martinisoft
|
126
139
|
[@miketheman]: https://github.com/miketheman
|
127
140
|
[@mstepniowski]: https://github.com/mstepniowski
|
128
141
|
[@olivielpeau]: https://github.com/olivielpeau
|
129
142
|
[@owen]: https://github.com/owen
|
130
143
|
[@remh]: https://github.com/remh
|
144
|
+
[@remeh]: https://github.com/remeh
|
131
145
|
[@rlaveycal]: https://github.com/rlaveycal
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
An Exception and Report Handler for Chef.
|
4
4
|
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/chef-handler-datadog.svg)](http://badge.fury.io/rb/chef-handler-datadog)
|
6
|
-
[![Build Status](https://travis-ci.
|
6
|
+
[![Build Status](https://travis-ci.com/DataDog/chef-handler-datadog.svg?branch=master)](https://travis-ci.com/DataDog/chef-handler-datadog)
|
7
7
|
[![Code Climate](https://codeclimate.com/github/DataDog/chef-handler-datadog/badges/gpa.svg)](https://codeclimate.com/github/DataDog/chef-handler-datadog)
|
8
8
|
[![Dependency Status](https://gemnasium.com/DataDog/chef-handler-datadog.svg)](https://gemnasium.com/DataDog/chef-handler-datadog)
|
9
9
|
|
data/Rakefile
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
#!/usr/bin/env rake
|
2
|
-
|
2
|
+
|
3
|
+
# frozen_string_literal: true
|
4
|
+
|
3
5
|
require 'rubygems'
|
4
6
|
require 'bundler/gem_tasks'
|
5
7
|
|
@@ -7,7 +9,7 @@ require 'rake/clean'
|
|
7
9
|
require 'rspec/core/rake_task'
|
8
10
|
require 'rubocop/rake_task'
|
9
11
|
|
10
|
-
task default: [
|
12
|
+
task default: %i[cops spec]
|
11
13
|
|
12
14
|
CLEAN.include(['coverage/', 'doc/', 'pkg/'])
|
13
15
|
|
@@ -1,5 +1,6 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require File.expand_path('lib/chef_handler_datadog', __dir__)
|
3
4
|
|
4
5
|
Gem::Specification.new do |gem|
|
5
6
|
gem.name = 'chef-handler-datadog'
|
@@ -14,15 +15,15 @@ Gem::Specification.new do |gem|
|
|
14
15
|
gem.require_paths = ['lib']
|
15
16
|
gem.extra_rdoc_files = ['README.md', 'LICENSE.txt']
|
16
17
|
|
17
|
-
gem.add_dependency 'dogapi', '>= 1.
|
18
|
+
gem.add_dependency 'dogapi', '>= 1.31'
|
18
19
|
|
19
20
|
gem.add_development_dependency 'appraisal', '~> 2.0.1'
|
20
21
|
gem.add_development_dependency 'bundler'
|
21
|
-
gem.add_development_dependency 'chef', '>=
|
22
|
+
gem.add_development_dependency 'chef', '>= 12.7'
|
22
23
|
gem.add_development_dependency 'dotenv'
|
23
|
-
gem.add_development_dependency 'rake'
|
24
|
-
gem.add_development_dependency 'rspec'
|
25
|
-
gem.add_development_dependency 'rubocop'
|
24
|
+
gem.add_development_dependency 'rake'
|
25
|
+
gem.add_development_dependency 'rspec'
|
26
|
+
gem.add_development_dependency 'rubocop'
|
26
27
|
gem.add_development_dependency 'simplecov'
|
27
28
|
gem.add_development_dependency 'vcr'
|
28
29
|
gem.add_development_dependency 'webmock'
|
data/lib/chef/handler/datadog.rb
CHANGED
@@ -31,6 +31,7 @@ class Chef
|
|
31
31
|
|
32
32
|
@dogs.each do |dog|
|
33
33
|
# post the report information to the datadog service
|
34
|
+
Chef::Log.debug("Sending Chef report to #{dog.datadog_host}")
|
34
35
|
send_report_to_datadog dog
|
35
36
|
end
|
36
37
|
ensure
|
@@ -98,8 +99,8 @@ class Chef
|
|
98
99
|
|
99
100
|
if config[:hostname]
|
100
101
|
config[:hostname]
|
101
|
-
elsif use_ec2_instance_id && node.attribute?('ec2') && node
|
102
|
-
node
|
102
|
+
elsif use_ec2_instance_id && node.attribute?('ec2') && node['ec2'].attribute?('instance_id')
|
103
|
+
node['ec2']['instance_id']
|
103
104
|
else
|
104
105
|
node.name
|
105
106
|
end
|
@@ -141,20 +142,29 @@ class Chef
|
|
141
142
|
dogs
|
142
143
|
end
|
143
144
|
|
145
|
+
def config_url()
|
146
|
+
url = 'https://app.datadoghq.com'
|
147
|
+
url = 'https://app.' + @config[:site] unless @config[:site].nil?
|
148
|
+
url = @config[:url] unless @config[:url].nil?
|
149
|
+
url
|
150
|
+
end
|
151
|
+
|
144
152
|
# return all endpoints as a list of triplets [url, api_key, application_key]
|
145
153
|
def endpoints
|
146
154
|
validate_keys(@config[:api_key], @config[:application_key], true)
|
147
155
|
|
148
|
-
|
156
|
+
# the first endpoint is always the url/site + apikey + appkey one
|
157
|
+
endpoints = [[config_url(), @config[:api_key], @config[:application_key]]]
|
149
158
|
|
159
|
+
# then add extra endpoints
|
150
160
|
extra_endpoints = @config[:extra_endpoints] || []
|
151
|
-
|
152
161
|
extra_endpoints.each do |endpoint|
|
153
|
-
url = endpoint[:url] ||
|
162
|
+
url = endpoint[:url] || config_url()
|
154
163
|
api_key = endpoint[:api_key]
|
155
164
|
app_key = endpoint[:application_key]
|
156
165
|
endpoints << [url, api_key, app_key] if validate_keys(api_key, app_key, false)
|
157
166
|
end
|
167
|
+
|
158
168
|
endpoints
|
159
169
|
end
|
160
170
|
|
@@ -66,17 +66,17 @@ class DatadogChefEvents
|
|
66
66
|
def emit_to_datadog(dog)
|
67
67
|
@event_body = ''
|
68
68
|
build_event_data
|
69
|
-
evt = dog.emit_event(Dogapi::Event.new(@event_body,
|
70
|
-
msg_title: @event_title,
|
71
|
-
event_type: 'config_management.run',
|
72
|
-
event_object: @hostname,
|
73
|
-
alert_type: @alert_type,
|
74
|
-
priority: @event_priority,
|
75
|
-
source_type_name: 'chef',
|
76
|
-
tags: @tags
|
77
|
-
), host: @hostname)
|
78
69
|
|
79
70
|
begin
|
71
|
+
evt = dog.emit_event(Dogapi::Event.new(@event_body,
|
72
|
+
msg_title: @event_title,
|
73
|
+
event_type: 'config_management.run',
|
74
|
+
event_object: @hostname,
|
75
|
+
alert_type: @alert_type,
|
76
|
+
priority: @event_priority,
|
77
|
+
source_type_name: 'chef',
|
78
|
+
tags: @tags
|
79
|
+
), host: @hostname)
|
80
80
|
# FIXME: nice-to-have: abstract format of return value away a bit
|
81
81
|
# in dogapi directly. See https://github.com/DataDog/dogapi-rb/issues/18
|
82
82
|
if evt.length < 2
|
@@ -90,8 +90,8 @@ class DatadogChefEvents
|
|
90
90
|
Chef::Log.debug("Successfully submitted Chef event to Datadog for #{@hostname} at #{evt[1]['event']['url']}")
|
91
91
|
end
|
92
92
|
end
|
93
|
-
rescue
|
94
|
-
Chef::Log.warn("Could not determine whether
|
93
|
+
rescue StandardError => e
|
94
|
+
Chef::Log.warn("Could not determine whether Chef event was successfully submitted to Datadog: #{evt}. Error:\n#{e}")
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
@@ -48,6 +48,8 @@ class DatadogChefMetrics
|
|
48
48
|
dog.emit_point('chef.resources.elapsed_time', @run_status.elapsed_time, host: @hostname)
|
49
49
|
Chef::Log.debug('Submitted Chef metrics back to Datadog')
|
50
50
|
rescue Errno::ECONNREFUSED, Errno::ETIMEDOUT => e
|
51
|
-
Chef::Log.
|
51
|
+
Chef::Log.warn("Could not send metrics to Datadog. Connection error:\n" + e)
|
52
|
+
rescue StandardError => e
|
53
|
+
Chef::Log.warn("Could not determine whether chef run metrics were successfully submitted to Datadog: #{evt}. Error:\n#{e}")
|
52
54
|
end
|
53
55
|
end # end class DatadogChefMetrics
|
@@ -113,8 +113,8 @@ class DatadogChefTags
|
|
113
113
|
end
|
114
114
|
break unless should_retry
|
115
115
|
end
|
116
|
-
rescue
|
117
|
-
Chef::Log.warn("Could not determine whether #{@hostname}'s tags were successfully submitted to Datadog: #{rc}")
|
116
|
+
rescue StandardError => e
|
117
|
+
Chef::Log.warn("Could not determine whether #{@hostname}'s tags were successfully submitted to Datadog: #{rc}. Error:\n#{e}")
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
data/lib/chef_handler_datadog.rb
CHANGED
data/spec/datadog_spec.rb
CHANGED
@@ -205,7 +205,7 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
205
205
|
|
206
206
|
describe 'when specified' do
|
207
207
|
it 'sets the role and env and tags' do
|
208
|
-
@node.normal
|
208
|
+
@node.normal['tags'] = ['the_one_and_only', 'datacenter:my-cloud']
|
209
209
|
@handler.run_report_unsafe(@run_status)
|
210
210
|
|
211
211
|
expect(a_request(:put, HOST_TAG_ENDPOINT + @node.name).with(
|
@@ -219,7 +219,7 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
219
219
|
end
|
220
220
|
|
221
221
|
it 'allows for user-specified tag prefix' do
|
222
|
-
@node.normal
|
222
|
+
@node.normal['tags'] = ['the_one_and_only', 'datacenter:my-cloud']
|
223
223
|
@handler.config[:tag_prefix] = 'custom-prefix-'
|
224
224
|
@handler.run_report_unsafe(@run_status)
|
225
225
|
|
@@ -234,7 +234,7 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
234
234
|
end
|
235
235
|
|
236
236
|
it 'allows for empty tag prefix' do
|
237
|
-
@node.normal
|
237
|
+
@node.normal['tags'] = ['the_one_and_only', 'datacenter:my-cloud']
|
238
238
|
@handler.config[:tag_prefix] = ''
|
239
239
|
@handler.run_report_unsafe(@run_status)
|
240
240
|
|
@@ -294,7 +294,7 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
294
294
|
|
295
295
|
describe 'when tag blacklist is specified' do
|
296
296
|
it 'does not include the tag(s) specified' do
|
297
|
-
@node.normal
|
297
|
+
@node.normal['tags'] = ['allowed_tag', 'not_allowed_tag']
|
298
298
|
@handler.config[:tags_blacklist_regex] = 'not_allowed.*'
|
299
299
|
@handler.run_report_unsafe(@run_status)
|
300
300
|
|
@@ -311,7 +311,7 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
311
311
|
|
312
312
|
describe 'when tag blacklist is unspecified' do
|
313
313
|
it 'should include all of the tag(s)' do
|
314
|
-
@node.normal
|
314
|
+
@node.normal['tags'] = ['allowed_tag', 'not_allowed_tag']
|
315
315
|
@handler.run_report_unsafe(@run_status)
|
316
316
|
|
317
317
|
expect(a_request(:put, HOST_TAG_ENDPOINT + @node.name).with(
|
@@ -375,7 +375,7 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
375
375
|
|
376
376
|
@node.send(:chef_environment, 'hostile')
|
377
377
|
@node.send(:run_list, 'role[highlander]')
|
378
|
-
@node.normal
|
378
|
+
@node.normal['tags'] = ['the_one_and_only']
|
379
379
|
|
380
380
|
@events = Chef::EventDispatch::Dispatcher.new
|
381
381
|
@run_context = Chef::RunContext.new(@node, {}, @events)
|
@@ -445,7 +445,7 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
445
445
|
|
446
446
|
@node.send(:chef_environment, 'hostile')
|
447
447
|
@node.send(:run_list, 'role[highlander]')
|
448
|
-
@node.normal
|
448
|
+
@node.normal['tags'] = ['the_one_and_only']
|
449
449
|
|
450
450
|
@events = Chef::EventDispatch::Dispatcher.new
|
451
451
|
@run_context = Chef::RunContext.new(@node, {}, @events)
|
@@ -472,7 +472,7 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
472
472
|
|
473
473
|
@node.send(:chef_environment, 'hostile')
|
474
474
|
@node.send(:run_list, 'role[highlander]')
|
475
|
-
@node.normal
|
475
|
+
@node.normal['tags'] = ['the_one_and_only']
|
476
476
|
|
477
477
|
@events = Chef::EventDispatch::Dispatcher.new
|
478
478
|
@run_context = Chef::RunContext.new(@node, {}, @events)
|
@@ -626,16 +626,16 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
626
626
|
context 'with a basic config' do
|
627
627
|
it 'returns the correct triplet' do
|
628
628
|
handler = Chef::Handler::Datadog.new api_key: API_KEY, application_key: APPLICATION_KEY
|
629
|
-
expect(handler.send(:endpoints)).to eq([[
|
629
|
+
expect(handler.send(:endpoints)).to eq([["https://app.datadoghq.com", API_KEY, APPLICATION_KEY]])
|
630
630
|
end
|
631
631
|
end
|
632
632
|
|
633
633
|
context 'with no url and two pairs of keys' do
|
634
634
|
it 'returns the correct triplets' do
|
635
635
|
triplets = [
|
636
|
-
[
|
637
|
-
[
|
638
|
-
[
|
636
|
+
["https://app.datadoghq.com", API_KEY, APPLICATION_KEY],
|
637
|
+
["https://app.datadoghq.com", 'api_key_2', 'app_key_2'],
|
638
|
+
["https://app.datadoghq.com", 'api_key_3', 'app_key_3']
|
639
639
|
]
|
640
640
|
handler = Chef::Handler::Datadog.new api_key: triplets[0][1],
|
641
641
|
application_key: triplets[0][2],
|
@@ -697,9 +697,9 @@ describe Chef::Handler::Datadog, :vcr => :new_episodes do
|
|
697
697
|
context 'when missing application keys' do
|
698
698
|
it 'returns available triplets' do
|
699
699
|
triplets = [
|
700
|
-
[
|
701
|
-
[
|
702
|
-
[
|
700
|
+
["https://app.datadoghq.com", API_KEY, APPLICATION_KEY],
|
701
|
+
["https://app.datadoghq.com", 'api_key_2', 'app_key_2'],
|
702
|
+
["https://app.datadoghq.com", 'api_key_3', 'app_key_3']
|
703
703
|
]
|
704
704
|
handler = Chef::Handler::Datadog.new api_key: triplets[0][1],
|
705
705
|
application_key: triplets[0][2],
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-datadog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Fiedler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2019-05-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: dogapi
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1.
|
21
|
+
version: '1.31'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '1.
|
28
|
+
version: '1.31'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: appraisal
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,20 +60,14 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
64
|
-
- - "<="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '13'
|
63
|
+
version: '12.7'
|
67
64
|
type: :development
|
68
65
|
prerelease: false
|
69
66
|
version_requirements: !ruby/object:Gem::Requirement
|
70
67
|
requirements:
|
71
68
|
- - ">="
|
72
69
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
74
|
-
- - "<="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '13'
|
70
|
+
version: '12.7'
|
77
71
|
- !ruby/object:Gem::Dependency
|
78
72
|
name: dotenv
|
79
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,44 +86,44 @@ dependencies:
|
|
92
86
|
name: rake
|
93
87
|
requirement: !ruby/object:Gem::Requirement
|
94
88
|
requirements:
|
95
|
-
- - "
|
89
|
+
- - ">="
|
96
90
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
91
|
+
version: '0'
|
98
92
|
type: :development
|
99
93
|
prerelease: false
|
100
94
|
version_requirements: !ruby/object:Gem::Requirement
|
101
95
|
requirements:
|
102
|
-
- - "
|
96
|
+
- - ">="
|
103
97
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
98
|
+
version: '0'
|
105
99
|
- !ruby/object:Gem::Dependency
|
106
100
|
name: rspec
|
107
101
|
requirement: !ruby/object:Gem::Requirement
|
108
102
|
requirements:
|
109
|
-
- - "
|
103
|
+
- - ">="
|
110
104
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
105
|
+
version: '0'
|
112
106
|
type: :development
|
113
107
|
prerelease: false
|
114
108
|
version_requirements: !ruby/object:Gem::Requirement
|
115
109
|
requirements:
|
116
|
-
- - "
|
110
|
+
- - ">="
|
117
111
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
112
|
+
version: '0'
|
119
113
|
- !ruby/object:Gem::Dependency
|
120
114
|
name: rubocop
|
121
115
|
requirement: !ruby/object:Gem::Requirement
|
122
116
|
requirements:
|
123
|
-
- - "
|
117
|
+
- - ">="
|
124
118
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0
|
119
|
+
version: '0'
|
126
120
|
type: :development
|
127
121
|
prerelease: false
|
128
122
|
version_requirements: !ruby/object:Gem::Requirement
|
129
123
|
requirements:
|
130
|
-
- - "
|
124
|
+
- - ">="
|
131
125
|
- !ruby/object:Gem::Version
|
132
|
-
version: 0
|
126
|
+
version: '0'
|
133
127
|
- !ruby/object:Gem::Dependency
|
134
128
|
name: simplecov
|
135
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,10 +190,10 @@ files:
|
|
196
190
|
- README.md
|
197
191
|
- Rakefile
|
198
192
|
- chef-handler-datadog.gemspec
|
199
|
-
- gemfiles/
|
200
|
-
- gemfiles/chef_10.gemfile
|
201
|
-
- gemfiles/chef_11.gemfile
|
193
|
+
- gemfiles/chef_12.7.gemfile
|
202
194
|
- gemfiles/chef_12.gemfile
|
195
|
+
- gemfiles/chef_13.gemfile
|
196
|
+
- gemfiles/chef_14.gemfile
|
203
197
|
- lib/chef/handler/datadog.rb
|
204
198
|
- lib/chef/handler/datadog_chef_events.rb
|
205
199
|
- lib/chef/handler/datadog_chef_metrics.rb
|
@@ -262,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
256
|
version: '0'
|
263
257
|
requirements: []
|
264
258
|
rubyforge_project:
|
265
|
-
rubygems_version: 2.
|
259
|
+
rubygems_version: 2.7.9
|
266
260
|
signing_key:
|
267
261
|
specification_version: 4
|
268
262
|
summary: Chef Handler reports events and metrics to Datadog
|