check_zfs 0.0.1 → 0.0.2
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.
- data/check_zfs.gemspec +2 -2
- data/features/check_zfs.feature +1 -1
- metadata +9 -9
data/check_zfs.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'check_zfs'
|
|
5
|
-
s.version = '0.0.
|
|
5
|
+
s.version = '0.0.2'
|
|
6
6
|
s.authors = ["Björn Albers"]
|
|
7
7
|
s.email = ["bjoernalbers@googlemail.com"]
|
|
8
8
|
s.description = 'Monitor the health of your ZFS pools with Nagios'
|
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
|
|
14
14
|
s.add_development_dependency 'cucumber', '>= 1.0.2'
|
|
15
15
|
s.add_development_dependency 'aruba', '>= 0.4.6'
|
|
16
|
-
s.add_development_dependency 'aruba-doubles', '>= 0.
|
|
16
|
+
s.add_development_dependency 'aruba-doubles', '>= 0.1.1'
|
|
17
17
|
|
|
18
18
|
s.files = `git ls-files`.split("\n")
|
|
19
19
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/features/check_zfs.feature
CHANGED
|
@@ -5,7 +5,7 @@ Feature: Check ZFS
|
|
|
5
5
|
I want the health of my ZFS pools monitored with Nagios by check_zfs
|
|
6
6
|
|
|
7
7
|
Scenario Outline: Exit status and stdout
|
|
8
|
-
Given a double of "zpool" with stdout:
|
|
8
|
+
Given a double of "zpool list -H -o name,health" with stdout:
|
|
9
9
|
"""
|
|
10
10
|
rpool <rpool>
|
|
11
11
|
tank <tank>
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: check_zfs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- "Bj\xC3\xB6rn Albers"
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-10-
|
|
18
|
+
date: 2011-10-21 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: nagios-probe
|
|
@@ -73,12 +73,12 @@ dependencies:
|
|
|
73
73
|
requirements:
|
|
74
74
|
- - ">="
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
|
-
hash:
|
|
76
|
+
hash: 25
|
|
77
77
|
segments:
|
|
78
78
|
- 0
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
version: 0.
|
|
79
|
+
- 1
|
|
80
|
+
- 1
|
|
81
|
+
version: 0.1.1
|
|
82
82
|
type: :development
|
|
83
83
|
version_requirements: *id004
|
|
84
84
|
description: Monitor the health of your ZFS pools with Nagios
|
|
@@ -133,7 +133,7 @@ rubyforge_project:
|
|
|
133
133
|
rubygems_version: 1.8.8
|
|
134
134
|
signing_key:
|
|
135
135
|
specification_version: 3
|
|
136
|
-
summary: check_zfs-0.0.
|
|
136
|
+
summary: check_zfs-0.0.2
|
|
137
137
|
test_files:
|
|
138
138
|
- features/check_zfs.feature
|
|
139
139
|
- features/support/env.rb
|