sensu-plugins-puppet 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8286374fc3da962e98181bd2e6ff81a23893c6c9b4938d31acc6d8ce3f196a6
4
- data.tar.gz: 4b436ad2912723b2635975e753af3e760f8f7571e8b0904ca3ee7ab46ae3c0eb
3
+ metadata.gz: e7c4b3b2a60767c546719712515824fe53ed68a8451d7a3f584b4c7d4b195524
4
+ data.tar.gz: 0311e27c72a779b8656a71e95a074ff52e5df889015a1522cacfcd997a558a5b
5
5
  SHA512:
6
- metadata.gz: 1115da93aa51da224badd0d7008c178a03e51d8bef964198087c7c26017c9ca21e61888cfd127af52180033587a244ae4968ca27e365ffbbea95ec22c763d9ab
7
- data.tar.gz: 8a922a3b04a7a16083308dbeaeca14ade7b72fa7c38c43a1f7e681b52107c656b84f5646407ef9b789bc88b582e3c57446719d33e733131b6a22e6b5daa8687d
6
+ metadata.gz: ba3c2162a72b12a1e89eb028b7d4cb166f7d56d071bf998bb11608335b4bb9489f17c01e661f18663c8f4010564af76fb1181f76bbd680e2cc14f37d26643300
7
+ data.tar.gz: 10f8791dc5a1392a88370bc7bf00a36325bad7b584b625371a56dc25ce4d4ef8093997318772bcc4a7ff7ca2cf8e913fd1250a85e51044338939bdb7a26ee191
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.1.1] - 2018-05-03
9
+ ### Fixed
10
+ - check-puppet-last-run.rb: fixed issue where `failures` and `restart_failures` were `nil` when `--ignore-failures` was passed by ensuring that they were defined as `0` so that they could be compared. (@bovy89)
11
+
8
12
  ## [2.1.0] - 2018-02-16
9
13
  ### Added
10
14
  - Added options to allow for different age limits when the agent is disabled
@@ -56,7 +60,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
56
60
  ### Added
57
61
  - initial release
58
62
 
59
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-puppet/compare/2.1.0...HEAD
63
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-puppet/compare/2.1.1...HEAD
64
+ [2.1.1]: https://github.com/sensu-plugins/sensu-plugins-puppet/compare/2.1.0...2.1.1
60
65
  [2.1.0]: https://github.com/sensu-plugins/sensu-plugins-puppet/compare/2.0.0...2.1.0
61
66
  [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-puppet/compare/1.3.0...2.0.0
62
67
  [1.3.0]: https://github.com/sensu-plugins/sensu-plugins-puppet/compare/1.2.0...1.3.0
@@ -100,6 +100,8 @@ class PuppetLastRun < Sensu::Plugin::Check::CLI
100
100
  end
101
101
 
102
102
  @now = Time.now.to_i
103
+ @failures = 0
104
+ @restart_failures = 0
103
105
 
104
106
  begin
105
107
  summary = YAML.load_file(config[:summary_file])
@@ -2,7 +2,7 @@ module SensuPluginsPuppet
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.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-02-17 00:00:00.000000000 Z
11
+ date: 2018-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin