sensu-plugins-consul 2.2.0 → 2.2.1

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
  SHA256:
3
- metadata.gz: bd87ab15cda8e6d0cf6bb707400ea7ea3c06de15e3a61ef30879bbbb8339dd17
4
- data.tar.gz: 29912ea95c1f1a217c67db3ccacadf53a398cdddedaa75bd8c9211b8350a7b82
3
+ metadata.gz: d6b39c0bfac1ba5f5b85d8ba29c824863c68f6ddf6c63d37d10dcb139d10c446
4
+ data.tar.gz: 921006a231137856260cc512be1ed1b1d72385624bb5d68dc0f0641d086bc386
5
5
  SHA512:
6
- metadata.gz: aa4e77c4eee82eb047d4bc09c0c307111cc0bba12664bdcc1b022e914436c3ce38b970c2f34a3013a85d197eda02aa6ddfc93c18d0dcd26e5151df32efcff607
7
- data.tar.gz: 5bccd93afe1a40063d4bdcc37ed390927bcc5c5a7740b21181fc82bf7e315f41bb453e6beba2fd34db1f08b2503fee89b3e3f2b0a5e767c91bf7a5c8e2c069db
6
+ metadata.gz: cab243a5fae7327c4c28115f97928664d5eb0c534f91a933c88cd53cd45b90b7689d8a8cefa4d9d2a07f1d648851c1cb04b95a511f41e79eeed137ac211d3169
7
+ data.tar.gz: fb79df9d87b6669d38afe288c1f3cca2233118351ff4a04ac24d2bb625cd99c8da37990f77d9029b433b81c247186b2dea2cdc269c6852918227f48aa6e97027
@@ -5,9 +5,13 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.2.1] - 2018-10-01
9
+ ### Fixed
10
+ - check-consul-failures: use a put when requesting to remove a node from the agent api (@majormoses)
11
+
8
12
  ## [2.2.0] - 2018-06-11
9
13
  ### Added
10
- - add ACL support to all consul checks except `check-consul-quorum.rb` (@scalp42)
14
+ - add ACL support to all consul checks (@scalp42)
11
15
 
12
16
  ## [2.1.1] - 2018-05-31
13
17
  ### Fixed
@@ -132,7 +136,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
132
136
  ### Added
133
137
  - initial release
134
138
 
135
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.2.0...HEAD
139
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.2.1...HEAD
140
+ [2.2.1]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.2.0...2.2.1
136
141
  [2.2.0]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.1.1...2.2.0
137
142
  [2.1.1]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.1.0...2.1.1
138
143
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-consul/compare/2.0.1...2.1.0
@@ -81,7 +81,7 @@ class ConsulStatus < Sensu::Plugin::Check::CLI
81
81
  "#{config[:scheme]}://#{config[:server]}:#{config[:port]}/v1/agent/force-leave/#{node['Name']}",
82
82
  timeout: 5,
83
83
  headers: { 'X-Consul-Token' => config[:token] }
84
- ).get
84
+ ).put
85
85
  nodes_names.delete(node['Name'])
86
86
  end
87
87
  ok 'All clear' if nodes_names.empty?
@@ -4,7 +4,7 @@ module SensuPluginsConsul
4
4
  module Version
5
5
  MAJOR = 2
6
6
  MINOR = 2
7
- PATCH = 0
7
+ PATCH = 1
8
8
 
9
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-consul
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
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: 2018-06-12 00:00:00.000000000 Z
11
+ date: 2018-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -184,16 +184,16 @@ description: |-
184
184
  for passing/critical services.
185
185
  email: "<sensu-users@googlegroups.com>"
186
186
  executables:
187
- - check-consul-failures.rb
188
- - check-consul-kv-ttl.rb
189
- - check-consul-leader.rb
190
187
  - check-consul-maintenance.rb
191
188
  - check-consul-members.rb
192
- - check-consul-quorum.rb
193
- - check-consul-servers.rb
194
189
  - check-consul-service-health.rb
190
+ - check-consul-servers.rb
195
191
  - check-consul-stale-peers.rb
192
+ - check-consul-failures.rb
193
+ - check-consul-kv-ttl.rb
196
194
  - check-service-consul.rb
195
+ - check-consul-leader.rb
196
+ - check-consul-quorum.rb
197
197
  extensions: []
198
198
  extra_rdoc_files: []
199
199
  files: