sensu-plugins-reboot-required 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: 93f2567acb1b88b964fcb12e310c1e59554606f9
4
- data.tar.gz: 9ce3cfcde0bd7f02b3676f685d4caa35b7d45355
3
+ metadata.gz: 33da63fd4f860e62281a13fab0d4b343f9a4733d
4
+ data.tar.gz: 16ecaf90bc6bc54751ce6cd6f560691c28820cd0
5
5
  SHA512:
6
- metadata.gz: d9bccb271a8befcd1070189975a8fd304e0c9af0e360f0a253585cfa265f0a91c6dd3da4ad76b8325527956fcc0c8acc0382d19f9f26993fe4bd65e36dd9cca2
7
- data.tar.gz: e39404df82058af6f31c0ba232c6af9d40d8355f7712d23e9fd5a9d6d953d1a67585adf236167b5a36469aa0e443bc5b7a0ef1bf164d7310cd74caf3cb51dbd2
6
+ metadata.gz: 654c888c97c7c90c3b807b247d8c03220d3ad67bd9c52c326aaf485467636b031c71a70fa6d4b975027a2517c9621d49a5b80a35b8c0a2b17031c6e450d4edbb
7
+ data.tar.gz: e716e7dd1811336281cdcdca8f4810d9b780e32d6794730fa6dd284de1a999f6534d628a3873a4105ed2bac3b7c176cbc6f6ed3249b4d1e31d6c428f2dd407e0
@@ -43,6 +43,8 @@ class CheckRebootRequired < Sensu::Plugin::Check::CLI
43
43
  if File.file?(pkglist_path)
44
44
  packages = File.readlines(pkglist_path)
45
45
  .map(&:chomp)
46
+ .sort
47
+ .uniq
46
48
  .reject(&method(:package_ignored?))
47
49
 
48
50
  if packages.empty?
@@ -2,7 +2,7 @@ module SensuPluginsRebootRequired
2
2
  module Version
3
3
  MAJOR = 0
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-reboot-required
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors