sensu-plugins-chef 4.0.0 → 7.1.0

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
- SHA1:
3
- metadata.gz: 921c03d9102e7ba6eb3330438b783613bbb020a1
4
- data.tar.gz: 495db0afca92ab3a4fcd2c8b28afc244988f1fcf
2
+ SHA256:
3
+ metadata.gz: f7954a7930c5a6b28e6db2ad220bae833648c40fc161b8791753d10609c74470
4
+ data.tar.gz: 9d62de7208d17c6e7ebe36af223e7f47a6ef039e4e72f8c032b0eeb2be8088da
5
5
  SHA512:
6
- metadata.gz: 9018eb2a96f6f7b6dc76679554ec97583cf6ce76c14f1af5b5e7cc990d22366f0af7e0ebc531b850180327196509458c3d9245a0e4c76a363bc5852c9d604e69
7
- data.tar.gz: 40f41e8eb1701604131be65eee08cafe2da795d002a5b3d375b3104579041667b88136fddd8505817b2e8f9ad311e7529938bc3ea6d4e55be158486c38d4a01b
6
+ metadata.gz: 29a3fa0b14e4a7542263043ba69a6fe8fba60f46a965771513dacb92d7f1e0353354bc9f35da459fed6f030123994f94eb29821d6214fd9c0f3951fbcdd4fb1b
7
+ data.tar.gz: ee2c1b5207d72d1d36c6501ebee5804a121a3d9d8129448042e5ff6fc90838bdd370a777315763d7de97d98f2e6f789f6d52c247995c4d094dc7101a74f55d0c
data/CHANGELOG.md CHANGED
@@ -1,9 +1,51 @@
1
- #Change Log
1
+ # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
- This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
4
+ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
5
5
 
6
6
  ## [Unreleased]
7
+
8
+ ## [7.1.0] - 2021-05-05
9
+
10
+ ### Changed
11
+ - Update development dependancy for github-markdown
12
+ - Update development dependancy for rake
13
+ - Update development dependancy for bundler
14
+ - Update development dependancy for rubocop
15
+ - Update Readme with additional documentation
16
+
17
+ ### Fixed
18
+ - Fixed errors in bonsai asset defitions
19
+
20
+ ## [7.0.0] - 2019-4-19
21
+ ### Breaking Changes
22
+ - Bump `sensu-plugin` dependency from `~> 3.0` to `~> 4.0` you can read the changelog entries for [4.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#400---2018-02-17), [3.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#300---2018-12-04), and [2.0](https://github.com/sensu-plugins/sensu-plugin/blob/master/CHANGELOG.md#v200---2017-03-29)
23
+
24
+ ### Added
25
+ - Travis build automation to generate Sensu Asset tarballs that can be used n conjunction with Sensu provided ruby runtime assets and the Bonsai Asset Index
26
+ - Require latest sensu-plugin for [Sensu Go support](https://github.com/sensu-plugins/sensu-plugin#sensu-go-enablement)
27
+
28
+ ## [6.0.0] - 2018-12-15
29
+
30
+ ## [5.0.1] - 2018-03-28
31
+ ### Security
32
+ - updated yard dependency to `~> 0.9.11` per: https://nvd.nist.gov/vuln/detail/CVE-2017-17042 (@majormoses)
33
+
34
+ ## [5.0.0] - 2018-01-31
35
+ ### Security
36
+ - updated `rubocop` dependency to `~> 0.51.0` per: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418. (@geewiz)
37
+
38
+ ### Breaking Change
39
+ - in order to bring in new rubocop dependency we need to drop ruby 2.0 support as it is EOL and aligns with our support policy. (@geewiz)
40
+
41
+ ### Fixed
42
+ - made exception handling more specific by catching StandardError (@geewiz)
43
+ - misc formatting in changelog (@majormoses)
44
+
45
+ ### Changed
46
+ - updated changelog guidelines location (@majormoses)
47
+
48
+
7
49
  ## [4.0.0] - 2017-08-14
8
50
  ### Breaking Change
9
51
  - check-chef-nodes.rb: added an option for a grace_period which allows exclusion of nodes until they have been online for a specified ammount of time. Defaulting to 300 seconds. (@majormoses)
@@ -84,7 +126,12 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
84
126
  ### Added
85
127
  - initial release
86
128
 
87
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/4.0.0...HEAD
129
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/7.1.0...HEAD
130
+ [7.1.0]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/7.0.0...7.1.0
131
+ [7.0.0]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/6.0.0...7.0.0
132
+ [6.0.0]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/5.0.1...6.0.1
133
+ [5.0.1]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/5.0.0...5.0.1
134
+ [5.0.0]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/4.0.0...5.0.0
88
135
  [4.0.0]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/3.0.2...4.0.0
89
136
  [3.0.2]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/3.0.2...3.0.1
90
137
  [3.0.1]: https://github.com/sensu-plugins/sensu-plugins-chef/compare/3.0.1...3.0.0
data/README.md CHANGED
@@ -1,23 +1,147 @@
1
- ## Sensu-Plugins-chef
2
-
1
+ [![Sensu Bonsai Asset](https://img.shields.io/badge/Bonsai-Download%20Me-brightgreen.svg?colorB=89C967&logo=sensu)](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-chef)
3
2
  [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-chef.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-chef)
4
3
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-chef.svg)](http://badge.fury.io/rb/sensu-plugins-chef)
5
4
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-chef/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-chef)
6
5
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-chef/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-chef)
7
- [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-chef.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-chef)
8
6
 
9
- ## Functionality
7
+ ## Sensu Plugins Chef Plugin
10
8
 
11
- ## Files
12
- * bin/check-chef-nodes.rb
9
+ - [Overview](#overview)
10
+ - [Files](#files)
11
+ - [Usage examples](#usage-examples)
12
+ - [Configuration](#configuration)
13
+ - [Sensu Go](#sensu-go)
14
+ - [Asset registration](#asset-registration)
15
+ - [Asset definition](#asset-definition)
16
+ - [Check definition](#check-definition)
17
+ - [Sensu Core](#sensu-core)
18
+ - [Check definition](#check-definition)
19
+ - [Installation from source](#installation-from-source)
20
+ - [Additional notes](#additional-notes)
21
+ - [Contributing](#contributing)
22
+
23
+ ### Overview
24
+
25
+ This plugin provides native instrumentation for monitoring Chef, including service health checks (via chef-server-ctl) and chef node status, and a Sensu handler for removing stale Sensu clients.
26
+
27
+ ### Files
13
28
  * bin/check-chef-node.rb
29
+ * bin/check-chef-nodes.rb
14
30
  * bin/check-chef-server.rb
15
31
  * bin/handler-chef-node.rb
32
+
33
+ **check-chef-node**
34
+ Checks if a node exists.
35
+
36
+ **check-chef-nodes**
37
+ Reports nodes from your cluster that were last seen before the specified number of seconds.
38
+
39
+ **check-chef-server**
40
+ Uses Chef Server's `chef-server-ctl` to check whether any component of the Chef Server is not running. You must run this plugin with elevated privileges (sudo) or it will fail with unknown state.
41
+
42
+ **handler-chef-node**
43
+ Removes a Sensu client if its Chef node data no longer exists.
44
+
45
+ ## Usage examples
46
+
47
+ ### Help
48
+
49
+ **check-chef-node.rb**
50
+ ```
51
+ Usage: check-chef-node.rb (options)
52
+ -U, --url CHEF-SERVER-URL URL of Chef server
53
+ -C, --client CLIENT-NAME Client name
54
+ -i, --ignore-ssl Ignore SSL certificate verification
55
+ -K, --keys CLIENT-KEY Client's key
56
+ -n, --node-name NODE-NAME Check if this node name exists
57
+ ```
58
+
59
+ **handler-chef-node.rb**
60
+ ```
61
+ Usage: handler-chef-node.rb (options)
62
+ --map-go-event-into-ruby Enable Sensu Go to Sensu Ruby event mapping. Alternatively set envvar SENSU_MAP_GO_EVENT_INTO_RUBY=1.
63
+
64
+ ```
65
+
66
+ ## Configuration
67
+ ### Sensu Go
68
+ #### Asset registration
69
+
70
+ Assets are the best way to make use of this plugin. If you're not using an asset, please consider doing so! If you're using sensuctl 5.13 or later, you can use the following command to add the asset:
71
+
72
+ `sensuctl asset add sensu-plugins/sensu-plugins-chef`
73
+
74
+ If you're using an earlier version of sensuctl, you can download the asset definition from [this project's Bonsai asset index page](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-chef).
75
+
76
+ #### Asset definition
77
+
78
+ ```yaml
79
+ ---
80
+ type: Asset
81
+ api_version: core/v2
82
+ metadata:
83
+ name: sensu-plugins-chef
84
+ spec:
85
+ url: https://assets.bonsai.sensu.io/94e44dc0b89b7cd8318c38db5f64f788642140d8/sensu-plugins-chef_7.0.0_centos_linux_amd64.tar.gz
86
+ sha512: f468ea0060ab890004a3f5bd09deff5bdd98db9e7a4c9ffc0ad1c8809b0e5a8198737f23ec850e9f5181fd590aafa5b895dd948b264244770c77b5f03fa523ef
87
+ ```
88
+
89
+ #### Check definition
90
+
91
+ ```yaml
92
+ ---
93
+ type: CheckConfig
94
+ spec:
95
+ command: "check-chef-nodes.rb"
96
+ handlers: []
97
+ high_flap_threshold: 0
98
+ interval: 10
99
+ low_flap_threshold: 0
100
+ publish: true
101
+ runtime_assets:
102
+ - sensu-plugins/sensu-plugins-chef
103
+ - sensu/sensu-ruby-runtime
104
+ subscriptions:
105
+ - linux
106
+ ```
107
+
108
+ ### Sensu Core
109
+
110
+ #### Check definition
111
+ ```json
112
+ {
113
+ "checks": {
114
+ "check-chef-nodes": {
115
+ "command": "check-chef-nodes.rb",
116
+ "subscribers": ["linux"],
117
+ "interval": 10,
118
+ "refresh": 10,
119
+ "handlers": ["influxdb"]
120
+ }
121
+ }
122
+ }
123
+ ```
124
+
125
+ ## Installation from source
126
+
127
+ ### Sensu Go
128
+
129
+ See the instructions above for [asset registration](#asset-registration).
130
+
131
+ ### Sensu Core
132
+
133
+ Install and setup plugins on [Sensu Core](https://docs.sensu.io/sensu-core/latest/installation/installing-plugins/).
134
+
135
+ ## Additional notes
136
+
137
+ ### Sensu Go Ruby Runtime Assets
138
+
139
+ The Sensu assets packaged from this repository are built against the Sensu Ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator, or handler), make sure to include the corresponding [Sensu Ruby Runtime Asset](https://bonsai.sensu.io/assets/sensu/sensu-ruby-runtime) in the list of assets needed by the resource.
16
140
 
17
- ## Usage
141
+ ### Use this plugin with Sensu Go
18
142
 
19
- ## Installation
143
+ To use `handler-chef-node.rb` with Sensu Go, you will need to use the event mapping command line option. See `handler-chef-node.rb --help` for details. Read the [sensu-plugin README](https://github.com/sensu-plugins/sensu-plugin#sensu-go-enablement) for more information about the event mapping functionality.
20
144
 
21
- [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
145
+ ## Contributing
22
146
 
23
- ## Notes
147
+ See [CONTRIBUTING.md](https://github.com/sensu-plugins/sensu-plugins-chef/blob/master/CONTRIBUTING.md) for information about contributing to this plugin.
@@ -1,5 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
- #
2
+ # frozen_string_literal: true
3
+
3
4
  # check-chef-node
4
5
  #
5
6
  # DESCRIPTION:
@@ -71,7 +72,7 @@ class ChefNodeChecker < Sensu::Plugin::Check::CLI
71
72
  else
72
73
  warning "Node #{config[:node_name]} does not contain 'ohai_time' attribute"
73
74
  end
74
- rescue => e
75
+ rescue StandardError => e
75
76
  critical "Node #{config[:node_name]} not found - #{e.message}"
76
77
  end
77
78
 
@@ -1,5 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
- #
2
+ # frozen_string_literal: true
3
+
3
4
  # check-chef-nodes
4
5
  #
5
6
  # DESCRIPTION:
@@ -74,9 +75,10 @@ class ChefNodesStatusChecker < Sensu::Plugin::Check::CLI
74
75
  default: '^$'
75
76
 
76
77
  option :grace_period,
77
- description: 'The ammount of time before a node should be evaluated for failed convergence',
78
+ description: 'The amount of time before a node should be evaluated for failed convergence',
78
79
  long: '--grace-period SECONDS',
79
- default: (60 * 5), # default 5 minutes, which seems like a good but not great default
80
+ # default 5 minutes, which seems like a good but not great default
81
+ default: (60 * 5),
80
82
  proc: proc(&:to_i)
81
83
 
82
84
  option :ignore_ssl_verification,
@@ -1,5 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
- #
2
+ # frozen_string_literal: true
3
+
3
4
  # check-chef-server
4
5
  #
5
6
  # DESCRIPTION:
@@ -48,7 +49,7 @@ class CheckChefServer < Sensu::Plugin::Check::CLI
48
49
  failed_processes << proc.match('^(fail|down|warning):\s+([a-z-]+)')[2]
49
50
  end
50
51
  end
51
- if failed_processes.count > 0
52
+ if failed_processes.count.positive?
52
53
  critical("chef-server service(s): #{failed_processes.join(', ')} #{failed_processes.count == 1 ? 'is' : 'are'} failed, down, or in warning state")
53
54
  else
54
55
  ok
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  #
3
5
  # This handler removes a Sensu client if its Chef node data
4
6
  # no longer exists.
@@ -66,17 +68,17 @@ class ChefNode < Sensu::Handler
66
68
  r.node.find(@event['client']['name']) ? true : false
67
69
  end
68
70
  # FIXME: Why is this necessary? Ridley works fine outside of Sensu
69
- rescue Celluloid::Error
71
+ rescue Celluloid::Error => e
70
72
  Celluloid.boot
71
73
  retried += 1
72
74
  if retried < 2
73
75
  retry
74
76
  else
75
- puts "CHEF-NODE: Ridley is broken: #{error.inspect}"
77
+ puts "CHEF-NODE: Ridley is broken: #{e.inspect}"
76
78
  true
77
79
  end
78
- rescue => error
79
- puts "CHEF-NODE: Unexpected error: #{error.inspect}"
80
+ rescue StandardError => e
81
+ puts "CHEF-NODE: Unexpected error: #{e.inspect}"
80
82
  true
81
83
  end
82
84
  end
@@ -84,14 +86,14 @@ class ChefNode < Sensu::Handler
84
86
  def delete_sensu_client!
85
87
  api_request(:DELETE, '/clients/' + @event['client']['name'])
86
88
  puts "CHEF-NODE: Successfully deleted Sensu client #{@event['client']['name']}"
87
- rescue => error
88
- puts "CHEF-NODE: Unexpected error: #{error.inspect}"
89
+ rescue StandardError => e
90
+ puts "CHEF-NODE: Unexpected error: #{e.inspect}"
89
91
  end
90
92
 
91
93
  def filter; end
92
94
 
93
95
  def handle
94
- unless chef_node_exists? # rubocop:disable GuardClause
96
+ unless chef_node_exists? # rubocop:disable Style/GuardClause
95
97
  delete_sensu_client!
96
98
  end
97
99
  end
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'sensu-plugins-chef/version'
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SensuPluginsChef
2
4
  module Version
3
- MAJOR = 4
4
- MINOR = 0
5
+ MAJOR = 7
6
+ MINOR = 1
5
7
  PATCH = 0
6
8
 
7
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,77 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-14 00:00:00.000000000 Z
11
+ date: 2021-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: chef
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 12.12.15
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
26
- version: 12.12.15
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: hashie
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - "<"
32
- - !ruby/object:Gem::Version
33
- version: 4.0.0
34
17
  - - ">="
35
18
  - !ruby/object:Gem::Version
36
19
  version: 2.0.2
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 4.0.0
37
23
  type: :runtime
38
24
  prerelease: false
39
25
  version_requirements: !ruby/object:Gem::Requirement
40
26
  requirements:
41
- - - "<"
42
- - !ruby/object:Gem::Version
43
- version: 4.0.0
44
27
  - - ">="
45
28
  - !ruby/object:Gem::Version
46
29
  version: 2.0.2
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 4.0.0
47
33
  - !ruby/object:Gem::Dependency
48
34
  name: ridley
49
35
  requirement: !ruby/object:Gem::Requirement
50
36
  requirements:
51
37
  - - '='
52
38
  - !ruby/object:Gem::Version
53
- version: 5.1.0
39
+ version: 5.1.1
54
40
  type: :runtime
55
41
  prerelease: false
56
42
  version_requirements: !ruby/object:Gem::Requirement
57
43
  requirements:
58
44
  - - '='
59
45
  - !ruby/object:Gem::Version
60
- version: 5.1.0
46
+ version: 5.1.1
61
47
  - !ruby/object:Gem::Dependency
62
48
  name: sensu-plugin
63
49
  requirement: !ruby/object:Gem::Requirement
64
50
  requirements:
65
51
  - - "~>"
66
52
  - !ruby/object:Gem::Version
67
- version: '1.2'
53
+ version: '4.0'
68
54
  type: :runtime
69
55
  prerelease: false
70
56
  version_requirements: !ruby/object:Gem::Requirement
71
57
  requirements:
72
58
  - - "~>"
73
59
  - !ruby/object:Gem::Version
74
- version: '1.2'
60
+ version: '4.0'
75
61
  - !ruby/object:Gem::Dependency
76
62
  name: varia_model
77
63
  requirement: !ruby/object:Gem::Requirement
@@ -92,56 +78,42 @@ dependencies:
92
78
  requirements:
93
79
  - - "~>"
94
80
  - !ruby/object:Gem::Version
95
- version: '1.12'
81
+ version: '2.1'
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
86
  - - "~>"
101
87
  - !ruby/object:Gem::Version
102
- version: '1.12'
88
+ version: '2.1'
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: codeclimate-test-reporter
105
91
  requirement: !ruby/object:Gem::Requirement
106
92
  requirements:
107
93
  - - "~>"
108
94
  - !ruby/object:Gem::Version
109
- version: '0.4'
95
+ version: '1.0'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
100
  - - "~>"
115
101
  - !ruby/object:Gem::Version
116
- version: '0.4'
102
+ version: '1.0'
117
103
  - !ruby/object:Gem::Dependency
118
104
  name: github-markup
119
105
  requirement: !ruby/object:Gem::Requirement
120
106
  requirements:
121
107
  - - "~>"
122
108
  - !ruby/object:Gem::Version
123
- version: '1.3'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '1.3'
131
- - !ruby/object:Gem::Dependency
132
- name: nio4r
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '1.2'
109
+ version: '4.0'
138
110
  type: :development
139
111
  prerelease: false
140
112
  version_requirements: !ruby/object:Gem::Requirement
141
113
  requirements:
142
114
  - - "~>"
143
115
  - !ruby/object:Gem::Version
144
- version: '1.2'
116
+ version: '4.0'
145
117
  - !ruby/object:Gem::Dependency
146
118
  name: pry
147
119
  requirement: !ruby/object:Gem::Requirement
@@ -162,14 +134,14 @@ dependencies:
162
134
  requirements:
163
135
  - - "~>"
164
136
  - !ruby/object:Gem::Version
165
- version: '10.5'
137
+ version: '13.0'
166
138
  type: :development
167
139
  prerelease: false
168
140
  version_requirements: !ruby/object:Gem::Requirement
169
141
  requirements:
170
142
  - - "~>"
171
143
  - !ruby/object:Gem::Version
172
- version: '10.5'
144
+ version: '13.0'
173
145
  - !ruby/object:Gem::Dependency
174
146
  name: redcarpet
175
147
  requirement: !ruby/object:Gem::Requirement
@@ -185,47 +157,47 @@ dependencies:
185
157
  - !ruby/object:Gem::Version
186
158
  version: '3.2'
187
159
  - !ruby/object:Gem::Dependency
188
- name: rubocop
160
+ name: rspec
189
161
  requirement: !ruby/object:Gem::Requirement
190
162
  requirements:
191
163
  - - "~>"
192
164
  - !ruby/object:Gem::Version
193
- version: 0.40.0
165
+ version: '3.4'
194
166
  type: :development
195
167
  prerelease: false
196
168
  version_requirements: !ruby/object:Gem::Requirement
197
169
  requirements:
198
170
  - - "~>"
199
171
  - !ruby/object:Gem::Version
200
- version: 0.40.0
172
+ version: '3.4'
201
173
  - !ruby/object:Gem::Dependency
202
- name: rspec
174
+ name: rubocop
203
175
  requirement: !ruby/object:Gem::Requirement
204
176
  requirements:
205
177
  - - "~>"
206
178
  - !ruby/object:Gem::Version
207
- version: '3.4'
179
+ version: 0.81.0
208
180
  type: :development
209
181
  prerelease: false
210
182
  version_requirements: !ruby/object:Gem::Requirement
211
183
  requirements:
212
184
  - - "~>"
213
185
  - !ruby/object:Gem::Version
214
- version: '3.4'
186
+ version: 0.81.0
215
187
  - !ruby/object:Gem::Dependency
216
188
  name: yard
217
189
  requirement: !ruby/object:Gem::Requirement
218
190
  requirements:
219
191
  - - "~>"
220
192
  - !ruby/object:Gem::Version
221
- version: '0.8'
193
+ version: 0.9.11
222
194
  type: :development
223
195
  prerelease: false
224
196
  version_requirements: !ruby/object:Gem::Requirement
225
197
  requirements:
226
198
  - - "~>"
227
199
  - !ruby/object:Gem::Version
228
- version: '0.8'
200
+ version: 0.9.11
229
201
  description: |-
230
202
  This plugin provides native Chef instrumentation
231
203
  for monitoring, including: report stale nodes,
@@ -235,8 +207,8 @@ email: "<sensu-users@googlegroups.com>"
235
207
  executables:
236
208
  - check-chef-node.rb
237
209
  - check-chef-nodes.rb
238
- - check-chef-server.rb
239
210
  - handler-chef-node.rb
211
+ - check-chef-server.rb
240
212
  extensions: []
241
213
  extra_rdoc_files: []
242
214
  files:
@@ -267,15 +239,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
267
239
  requirements:
268
240
  - - ">="
269
241
  - !ruby/object:Gem::Version
270
- version: 2.1.0
242
+ version: 2.3.0
271
243
  required_rubygems_version: !ruby/object:Gem::Requirement
272
244
  requirements:
273
245
  - - ">="
274
246
  - !ruby/object:Gem::Version
275
247
  version: '0'
276
248
  requirements: []
277
- rubyforge_project:
278
- rubygems_version: 2.4.5
249
+ rubygems_version: 3.0.8
279
250
  signing_key:
280
251
  specification_version: 4
281
252
  summary: Sensu plugins for chef