sensu-plugins-barman-checks 0.0.7 → 0.0.8

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
  SHA1:
3
- metadata.gz: b113a6636b51139e8ceb88e6f7eb9d64f7899848
4
- data.tar.gz: 609e4f4ebc8b1871ab70ccb34aa35292f5f7c8bd
3
+ metadata.gz: 8ffb6378162c7540bf3a07c436194428158504cd
4
+ data.tar.gz: 62a05229a081ed56d2b7c53072fd8e4ec4bfcd81
5
5
  SHA512:
6
- metadata.gz: 68d6de685b8a6ee0f81dfd04270e0355b75624029e423e9e4e06c64c9144b8a6b39c123188b9acac26f1e640c0c80dfbe4432d186505bb53e27474e150b30020
7
- data.tar.gz: a2df79153ad05f9d6792216b49ed0ba2ad848e6a5d60f2a66ebe546f00d215fdb998ae4f2561aa19a22d4a87af4da3899270be5710776bdc59adc5fb9626bdab
6
+ metadata.gz: 7fdcdff62ab9ff3fffec259c98d5ac5488c503594b13004e134004411d6301c6ae5f88767c887933a700209fbde6a96f15a7d8363cc0c750198b035eba5cf36e
7
+ data.tar.gz: 642f70020c5e12991cae5c10f17729b371614d6917d2d9acfc1c890bdd5a77d724d5404c31bb9767560701c44af3b2c66bcd405baf4ad6ae7b6c292ac1842edb
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## 0.0.8 - 2016-12-01
9
+ ### Fixed
10
+ - Fix another bug. Cannot get latest available backup if it doesn't exist yet.
11
+
8
12
  ## 0.0.7 - 2016-11-30
9
13
  ### Fixed
10
14
  - Rework logic to fix false reporting of completed backups being in progress
@@ -104,7 +104,7 @@ class CheckBarmanBackupStatus < Sensu::Plugin::Check::CLI
104
104
  end
105
105
  puts "Number of backups for server #{server}: #{backups.count}"
106
106
 
107
- @latest = @server_hash[server]['status']['Last available backup']
107
+ @latest = backups[0]
108
108
 
109
109
  backups.each do |backup|
110
110
  stupid_barman_cli = `sudo barman list-backup #{server} | grep #{backup} | awk '{print $4}'`.strip
@@ -2,7 +2,7 @@ module SensuPluginsBarmanChecks
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 7
5
+ PATCH = 8
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-barman-checks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Brimhall