specinfra 2.20.2 → 2.21.0
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 +4 -4
- data/lib/specinfra/command/module/zfs.rb +4 -0
- data/lib/specinfra/version.rb +1 -1
- data/spec/command/module/zfs_spec.rb +6 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fbebb2af7385aecbd1b5d1205e703c75768974fa
|
|
4
|
+
data.tar.gz: 1b3f85640b685b3748c3b1ac206fe3a43b8e0da6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a04dcb00a7e89deaa8eacb21b2510cbca3d1997c0f23954e21fc533123b237e87cd4f4f1efad4ed14804a48ee8d432fa93f9450c5b22e6f3889ae54690b061e7
|
|
7
|
+
data.tar.gz: 102bf6a1b015038809081a877198b97d46eed6df465d611556c7a798b0541179c26e87fa592cbf2920770b8974669fb94625dd15fc628df3fb3a5d957460ce6c
|
data/lib/specinfra/version.rb
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
describe Specinfra::Command::Solaris::Base::Zfs do
|
|
3
|
+
let(:klass) { Specinfra::Command::Solaris::Base::Zfs }
|
|
4
|
+
it { expect(klass.check_exists('rpool')).to eq "zfs list -H rpool" }
|
|
5
|
+
it { expect(klass.check_has_property('rpool', {'mountpoint' => '/rpool' })).to eq "zfs list -H -o mountpoint rpool | grep -- \\^/rpool\\$" }
|
|
6
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: specinfra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.21.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gosuke Miyashita
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-ssh
|
|
@@ -389,6 +389,7 @@ files:
|
|
|
389
389
|
- spec/command/linux/selinux_module_spec.rb
|
|
390
390
|
- spec/command/linux/selinux_spec.rb
|
|
391
391
|
- spec/command/module/systemd_spec.rb
|
|
392
|
+
- spec/command/module/zfs_spec.rb
|
|
392
393
|
- spec/command/redhat/interface_spec.rb
|
|
393
394
|
- spec/command/redhat/package_spec.rb
|
|
394
395
|
- spec/command/redhat/service_spec.rb
|
|
@@ -449,6 +450,7 @@ test_files:
|
|
|
449
450
|
- spec/command/linux/selinux_module_spec.rb
|
|
450
451
|
- spec/command/linux/selinux_spec.rb
|
|
451
452
|
- spec/command/module/systemd_spec.rb
|
|
453
|
+
- spec/command/module/zfs_spec.rb
|
|
452
454
|
- spec/command/redhat/interface_spec.rb
|
|
453
455
|
- spec/command/redhat/package_spec.rb
|
|
454
456
|
- spec/command/redhat/service_spec.rb
|