serverspec 0.13.7 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/serverspec/helper/type.rb +1 -1
- data/lib/serverspec/matchers/be_running.rb +5 -1
- data/lib/serverspec/type/base.rb +4 -0
- data/lib/serverspec/type/lxc.rb +1 -1
- data/lib/serverspec/type/process.rb +19 -0
- data/lib/serverspec/version.rb +1 -1
- data/spec/aix/process_spec.rb +29 -0
- data/spec/darwin/process_spec.rb +29 -0
- data/spec/debian/process_spec.rb +29 -0
- data/spec/freebsd/process_spec.rb +29 -0
- data/spec/gentoo/process_spec.rb +29 -0
- data/spec/redhat/process_spec.rb +29 -0
- data/spec/smartos/process_spec.rb +29 -0
- data/spec/solaris/process_spec.rb +29 -0
- metadata +111 -119
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f58ca5c3b85e0f9ded3dbc7e5b95fffa75183ff6
|
4
|
+
data.tar.gz: 33caeb2e48d4b98678e78898448db01c5591638b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b0b9a872485ab2ae414ae222e6d61e58e10fb85fb4e46547fbf18d9665786536c76bb7eb127d67e7fb4ec1089e94797bed72d81d8548f597232d6f0934bff33b
|
7
|
+
data.tar.gz: 6cbfbcd5c6d77d8e7df4fa06aeb4f1b920658d5f8f7d80d271feb0bd9c52279f1da774b690c93303b5bebf944a31ae326ca24149a77f8e2308b5a7d5737640a9
|
@@ -4,7 +4,7 @@ module Serverspec
|
|
4
4
|
types = %w(
|
5
5
|
base cgroup command cron default_gateway file group host interface
|
6
6
|
ipfilter ipnat iptables kernel_module linux_kernel_parameter lxc mail_alias
|
7
|
-
package php_config port routing_table selinux service user yumrepo
|
7
|
+
package php_config port process routing_table selinux service user yumrepo
|
8
8
|
windows_registry_key zfs
|
9
9
|
)
|
10
10
|
|
data/lib/serverspec/type/base.rb
CHANGED
data/lib/serverspec/type/lxc.rb
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
module Serverspec
|
2
|
+
module Type
|
3
|
+
class Process < Base
|
4
|
+
|
5
|
+
def running?
|
6
|
+
pid = backend.run_command(commands.get_process(@name, :format => "pid="))[:stdout]
|
7
|
+
not pid.empty?
|
8
|
+
end
|
9
|
+
|
10
|
+
def method_missing(meth)
|
11
|
+
ret = backend.run_command(commands.get_process(@name, :format => "#{meth.to_s}="))
|
12
|
+
val = ret[:stdout].strip
|
13
|
+
val = val.to_i if val.match(/^\d+$/)
|
14
|
+
val
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/serverspec/version.rb
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::AIX
|
4
|
+
|
5
|
+
describe process("memcached") do
|
6
|
+
let(:stdout) { " 1407\n" }
|
7
|
+
its(:pid) { should eq 1407 }
|
8
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
9
|
+
end
|
10
|
+
|
11
|
+
describe process("memcached") do
|
12
|
+
let(:stdout) { "/usr/bin/memcached -m 14386 -p 11211 -u nobody -l 10.11.1.53 -c 30000\n" }
|
13
|
+
its(:args) { should match /-c 30000\b/ }
|
14
|
+
its(:command) { should eq "ps -C memcached -o args= | head -1" }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe process("memcached") do
|
18
|
+
context "when running" do
|
19
|
+
let(:stdout) { " 1407\n" }
|
20
|
+
it { should be_running }
|
21
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
22
|
+
end
|
23
|
+
|
24
|
+
context "when not running" do
|
25
|
+
let(:stdout) { " 1407\n" }
|
26
|
+
it { should be_running }
|
27
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::Darwin
|
4
|
+
|
5
|
+
describe process("memcached") do
|
6
|
+
let(:stdout) { " 1407\n" }
|
7
|
+
its(:pid) { should eq 1407 }
|
8
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
9
|
+
end
|
10
|
+
|
11
|
+
describe process("memcached") do
|
12
|
+
let(:stdout) { "/usr/bin/memcached -m 14386 -p 11211 -u nobody -l 10.11.1.53 -c 30000\n" }
|
13
|
+
its(:args) { should match /-c 30000\b/ }
|
14
|
+
its(:command) { should eq "ps -C memcached -o args= | head -1" }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe process("memcached") do
|
18
|
+
context "when running" do
|
19
|
+
let(:stdout) { " 1407\n" }
|
20
|
+
it { should be_running }
|
21
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
22
|
+
end
|
23
|
+
|
24
|
+
context "when not running" do
|
25
|
+
let(:stdout) { " 1407\n" }
|
26
|
+
it { should be_running }
|
27
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::Debian
|
4
|
+
|
5
|
+
describe process("memcached") do
|
6
|
+
let(:stdout) { " 1407\n" }
|
7
|
+
its(:pid) { should eq 1407 }
|
8
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
9
|
+
end
|
10
|
+
|
11
|
+
describe process("memcached") do
|
12
|
+
let(:stdout) { "/usr/bin/memcached -m 14386 -p 11211 -u nobody -l 10.11.1.53 -c 30000\n" }
|
13
|
+
its(:args) { should match /-c 30000\b/ }
|
14
|
+
its(:command) { should eq "ps -C memcached -o args= | head -1" }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe process("memcached") do
|
18
|
+
context "when running" do
|
19
|
+
let(:stdout) { " 1407\n" }
|
20
|
+
it { should be_running }
|
21
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
22
|
+
end
|
23
|
+
|
24
|
+
context "when not running" do
|
25
|
+
let(:stdout) { " 1407\n" }
|
26
|
+
it { should be_running }
|
27
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::FreeBSD
|
4
|
+
|
5
|
+
describe process("memcached") do
|
6
|
+
let(:stdout) { " 1407\n" }
|
7
|
+
its(:pid) { should eq 1407 }
|
8
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
9
|
+
end
|
10
|
+
|
11
|
+
describe process("memcached") do
|
12
|
+
let(:stdout) { "/usr/bin/memcached -m 14386 -p 11211 -u nobody -l 10.11.1.53 -c 30000\n" }
|
13
|
+
its(:args) { should match /-c 30000\b/ }
|
14
|
+
its(:command) { should eq "ps -C memcached -o args= | head -1" }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe process("memcached") do
|
18
|
+
context "when running" do
|
19
|
+
let(:stdout) { " 1407\n" }
|
20
|
+
it { should be_running }
|
21
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
22
|
+
end
|
23
|
+
|
24
|
+
context "when not running" do
|
25
|
+
let(:stdout) { " 1407\n" }
|
26
|
+
it { should be_running }
|
27
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::Gentoo
|
4
|
+
|
5
|
+
describe process("memcached") do
|
6
|
+
let(:stdout) { " 1407\n" }
|
7
|
+
its(:pid) { should eq 1407 }
|
8
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
9
|
+
end
|
10
|
+
|
11
|
+
describe process("memcached") do
|
12
|
+
let(:stdout) { "/usr/bin/memcached -m 14386 -p 11211 -u nobody -l 10.11.1.53 -c 30000\n" }
|
13
|
+
its(:args) { should match /-c 30000\b/ }
|
14
|
+
its(:command) { should eq "ps -C memcached -o args= | head -1" }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe process("memcached") do
|
18
|
+
context "when running" do
|
19
|
+
let(:stdout) { " 1407\n" }
|
20
|
+
it { should be_running }
|
21
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
22
|
+
end
|
23
|
+
|
24
|
+
context "when not running" do
|
25
|
+
let(:stdout) { " 1407\n" }
|
26
|
+
it { should be_running }
|
27
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::RedHat
|
4
|
+
|
5
|
+
describe process("memcached") do
|
6
|
+
let(:stdout) { " 1407\n" }
|
7
|
+
its(:pid) { should eq 1407 }
|
8
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
9
|
+
end
|
10
|
+
|
11
|
+
describe process("memcached") do
|
12
|
+
let(:stdout) { "/usr/bin/memcached -m 14386 -p 11211 -u nobody -l 10.11.1.53 -c 30000\n" }
|
13
|
+
its(:args) { should match /-c 30000\b/ }
|
14
|
+
its(:command) { should eq "ps -C memcached -o args= | head -1" }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe process("memcached") do
|
18
|
+
context "when running" do
|
19
|
+
let(:stdout) { " 1407\n" }
|
20
|
+
it { should be_running }
|
21
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
22
|
+
end
|
23
|
+
|
24
|
+
context "when not running" do
|
25
|
+
let(:stdout) { " 1407\n" }
|
26
|
+
it { should be_running }
|
27
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::SmartOS
|
4
|
+
|
5
|
+
describe process("memcached") do
|
6
|
+
let(:stdout) { " 1407\n" }
|
7
|
+
its(:pid) { should eq 1407 }
|
8
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
9
|
+
end
|
10
|
+
|
11
|
+
describe process("memcached") do
|
12
|
+
let(:stdout) { "/usr/bin/memcached -m 14386 -p 11211 -u nobody -l 10.11.1.53 -c 30000\n" }
|
13
|
+
its(:args) { should match /-c 30000\b/ }
|
14
|
+
its(:command) { should eq "ps -C memcached -o args= | head -1" }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe process("memcached") do
|
18
|
+
context "when running" do
|
19
|
+
let(:stdout) { " 1407\n" }
|
20
|
+
it { should be_running }
|
21
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
22
|
+
end
|
23
|
+
|
24
|
+
context "when not running" do
|
25
|
+
let(:stdout) { " 1407\n" }
|
26
|
+
it { should be_running }
|
27
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::Solaris
|
4
|
+
|
5
|
+
describe process("memcached") do
|
6
|
+
let(:stdout) { " 1407\n" }
|
7
|
+
its(:pid) { should eq 1407 }
|
8
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
9
|
+
end
|
10
|
+
|
11
|
+
describe process("memcached") do
|
12
|
+
let(:stdout) { "/usr/bin/memcached -m 14386 -p 11211 -u nobody -l 10.11.1.53 -c 30000\n" }
|
13
|
+
its(:args) { should match /-c 30000\b/ }
|
14
|
+
its(:command) { should eq "ps -C memcached -o args= | head -1" }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe process("memcached") do
|
18
|
+
context "when running" do
|
19
|
+
let(:stdout) { " 1407\n" }
|
20
|
+
it { should be_running }
|
21
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
22
|
+
end
|
23
|
+
|
24
|
+
context "when not running" do
|
25
|
+
let(:stdout) { " 1407\n" }
|
26
|
+
it { should be_running }
|
27
|
+
its(:command) { should eq "ps -C memcached -o pid= | head -1" }
|
28
|
+
end
|
29
|
+
end
|
metadata
CHANGED
@@ -1,122 +1,107 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 13
|
9
|
-
- 7
|
10
|
-
version: 0.13.7
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.14.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Gosuke Miyashita
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-12-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
22
14
|
name: net-ssh
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
33
20
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rspec
|
37
21
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
48
33
|
version: 2.13.0
|
49
34
|
type: :runtime
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: highline
|
53
35
|
prerelease: false
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.13.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: highline
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
63
48
|
type: :runtime
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: specinfra
|
67
49
|
prerelease: false
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: specinfra
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
78
61
|
version: 0.0.14
|
79
62
|
type: :runtime
|
80
|
-
version_requirements: *id004
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: bundler
|
83
63
|
prerelease: false
|
84
|
-
|
85
|
-
|
86
|
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.0.14
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
87
73
|
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
90
|
-
segments:
|
91
|
-
- 1
|
92
|
-
- 3
|
93
|
-
version: "1.3"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.3'
|
94
76
|
type: :development
|
95
|
-
version_requirements: *id005
|
96
|
-
- !ruby/object:Gem::Dependency
|
97
|
-
name: rake
|
98
77
|
prerelease: false
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.3'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
108
90
|
type: :development
|
109
|
-
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
110
97
|
description: RSpec tests for your servers configured by Puppet, Chef or anything else
|
111
|
-
email:
|
98
|
+
email:
|
112
99
|
- gosukenator@gmail.com
|
113
|
-
executables:
|
100
|
+
executables:
|
114
101
|
- serverspec-init
|
115
102
|
extensions: []
|
116
|
-
|
117
103
|
extra_rdoc_files: []
|
118
|
-
|
119
|
-
files:
|
104
|
+
files:
|
120
105
|
- .gitignore
|
121
106
|
- .travis.yml
|
122
107
|
- Gemfile
|
@@ -174,6 +159,7 @@ files:
|
|
174
159
|
- lib/serverspec/type/package.rb
|
175
160
|
- lib/serverspec/type/php_config.rb
|
176
161
|
- lib/serverspec/type/port.rb
|
162
|
+
- lib/serverspec/type/process.rb
|
177
163
|
- lib/serverspec/type/routing_table.rb
|
178
164
|
- lib/serverspec/type/selinux.rb
|
179
165
|
- lib/serverspec/type/service.rb
|
@@ -192,6 +178,7 @@ files:
|
|
192
178
|
- spec/aix/package_spec.rb
|
193
179
|
- spec/aix/php_config_spec.rb
|
194
180
|
- spec/aix/port_spec.rb
|
181
|
+
- spec/aix/process_spec.rb
|
195
182
|
- spec/aix/routing_table_spec.rb
|
196
183
|
- spec/aix/service_spec.rb
|
197
184
|
- spec/aix/user_spec.rb
|
@@ -211,6 +198,7 @@ files:
|
|
211
198
|
- spec/darwin/package_spec.rb
|
212
199
|
- spec/darwin/php_config_spec.rb
|
213
200
|
- spec/darwin/port_spec.rb
|
201
|
+
- spec/darwin/process_spec.rb
|
214
202
|
- spec/darwin/routing_table_spec.rb
|
215
203
|
- spec/darwin/service_spec.rb
|
216
204
|
- spec/darwin/user_spec.rb
|
@@ -230,6 +218,7 @@ files:
|
|
230
218
|
- spec/debian/package_spec.rb
|
231
219
|
- spec/debian/php_config_spec.rb
|
232
220
|
- spec/debian/port_spec.rb
|
221
|
+
- spec/debian/process_spec.rb
|
233
222
|
- spec/debian/routing_table_spec.rb
|
234
223
|
- spec/debian/selinux_spec.rb
|
235
224
|
- spec/debian/service_spec.rb
|
@@ -244,6 +233,7 @@ files:
|
|
244
233
|
- spec/freebsd/package_spec.rb
|
245
234
|
- spec/freebsd/php_config_spec.rb
|
246
235
|
- spec/freebsd/port_spec.rb
|
236
|
+
- spec/freebsd/process_spec.rb
|
247
237
|
- spec/freebsd/routing_table_spec.rb
|
248
238
|
- spec/freebsd/service_spec.rb
|
249
239
|
- spec/freebsd/user_spec.rb
|
@@ -263,6 +253,7 @@ files:
|
|
263
253
|
- spec/gentoo/package_spec.rb
|
264
254
|
- spec/gentoo/php_config_spec.rb
|
265
255
|
- spec/gentoo/port_spec.rb
|
256
|
+
- spec/gentoo/process_spec.rb
|
266
257
|
- spec/gentoo/routing_table_spec.rb
|
267
258
|
- spec/gentoo/selinux_spec.rb
|
268
259
|
- spec/gentoo/service_spec.rb
|
@@ -306,6 +297,7 @@ files:
|
|
306
297
|
- spec/redhat/package_spec.rb
|
307
298
|
- spec/redhat/php_config_spec.rb
|
308
299
|
- spec/redhat/port_spec.rb
|
300
|
+
- spec/redhat/process_spec.rb
|
309
301
|
- spec/redhat/routing_table_spec.rb
|
310
302
|
- spec/redhat/selinux_spec.rb
|
311
303
|
- spec/redhat/service_spec.rb
|
@@ -313,6 +305,7 @@ files:
|
|
313
305
|
- spec/redhat/yumrepo_spec.rb
|
314
306
|
- spec/redhat/zfs_spec.rb
|
315
307
|
- spec/smartos/mail_alias_spec.rb
|
308
|
+
- spec/smartos/process_spec.rb
|
316
309
|
- spec/solaris/command_spec.rb
|
317
310
|
- spec/solaris/cron_spec.rb
|
318
311
|
- spec/solaris/default_gateway_spec.rb
|
@@ -325,6 +318,7 @@ files:
|
|
325
318
|
- spec/solaris/package_spec.rb
|
326
319
|
- spec/solaris/php_config_spec.rb
|
327
320
|
- spec/solaris/port_spec.rb
|
321
|
+
- spec/solaris/process_spec.rb
|
328
322
|
- spec/solaris/routing_table_spec.rb
|
329
323
|
- spec/solaris/service_spec.rb
|
330
324
|
- spec/solaris/svcprop_spec.rb
|
@@ -362,41 +356,31 @@ files:
|
|
362
356
|
- spec/windows/service_spec.rb
|
363
357
|
- spec/windows/user_spec.rb
|
364
358
|
- spec/windows/windows_registry_key_spec.rb
|
365
|
-
has_rdoc: true
|
366
359
|
homepage: http://serverspec.org/
|
367
|
-
licenses:
|
360
|
+
licenses:
|
368
361
|
- MIT
|
362
|
+
metadata: {}
|
369
363
|
post_install_message:
|
370
364
|
rdoc_options: []
|
371
|
-
|
372
|
-
require_paths:
|
365
|
+
require_paths:
|
373
366
|
- lib
|
374
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
none: false
|
385
|
-
requirements:
|
386
|
-
- - ">="
|
387
|
-
- !ruby/object:Gem::Version
|
388
|
-
hash: 3
|
389
|
-
segments:
|
390
|
-
- 0
|
391
|
-
version: "0"
|
367
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
368
|
+
requirements:
|
369
|
+
- - '>='
|
370
|
+
- !ruby/object:Gem::Version
|
371
|
+
version: '0'
|
372
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - '>='
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: '0'
|
392
377
|
requirements: []
|
393
|
-
|
394
378
|
rubyforge_project:
|
395
|
-
rubygems_version:
|
379
|
+
rubygems_version: 2.0.3
|
396
380
|
signing_key:
|
397
|
-
specification_version:
|
381
|
+
specification_version: 4
|
398
382
|
summary: RSpec tests for your servers configured by Puppet, Chef or anything else
|
399
|
-
test_files:
|
383
|
+
test_files:
|
400
384
|
- spec/aix/command_spec.rb
|
401
385
|
- spec/aix/cron_spec.rb
|
402
386
|
- spec/aix/default_gateway_spec.rb
|
@@ -406,6 +390,7 @@ test_files:
|
|
406
390
|
- spec/aix/package_spec.rb
|
407
391
|
- spec/aix/php_config_spec.rb
|
408
392
|
- spec/aix/port_spec.rb
|
393
|
+
- spec/aix/process_spec.rb
|
409
394
|
- spec/aix/routing_table_spec.rb
|
410
395
|
- spec/aix/service_spec.rb
|
411
396
|
- spec/aix/user_spec.rb
|
@@ -425,6 +410,7 @@ test_files:
|
|
425
410
|
- spec/darwin/package_spec.rb
|
426
411
|
- spec/darwin/php_config_spec.rb
|
427
412
|
- spec/darwin/port_spec.rb
|
413
|
+
- spec/darwin/process_spec.rb
|
428
414
|
- spec/darwin/routing_table_spec.rb
|
429
415
|
- spec/darwin/service_spec.rb
|
430
416
|
- spec/darwin/user_spec.rb
|
@@ -444,6 +430,7 @@ test_files:
|
|
444
430
|
- spec/debian/package_spec.rb
|
445
431
|
- spec/debian/php_config_spec.rb
|
446
432
|
- spec/debian/port_spec.rb
|
433
|
+
- spec/debian/process_spec.rb
|
447
434
|
- spec/debian/routing_table_spec.rb
|
448
435
|
- spec/debian/selinux_spec.rb
|
449
436
|
- spec/debian/service_spec.rb
|
@@ -458,6 +445,7 @@ test_files:
|
|
458
445
|
- spec/freebsd/package_spec.rb
|
459
446
|
- spec/freebsd/php_config_spec.rb
|
460
447
|
- spec/freebsd/port_spec.rb
|
448
|
+
- spec/freebsd/process_spec.rb
|
461
449
|
- spec/freebsd/routing_table_spec.rb
|
462
450
|
- spec/freebsd/service_spec.rb
|
463
451
|
- spec/freebsd/user_spec.rb
|
@@ -477,6 +465,7 @@ test_files:
|
|
477
465
|
- spec/gentoo/package_spec.rb
|
478
466
|
- spec/gentoo/php_config_spec.rb
|
479
467
|
- spec/gentoo/port_spec.rb
|
468
|
+
- spec/gentoo/process_spec.rb
|
480
469
|
- spec/gentoo/routing_table_spec.rb
|
481
470
|
- spec/gentoo/selinux_spec.rb
|
482
471
|
- spec/gentoo/service_spec.rb
|
@@ -520,6 +509,7 @@ test_files:
|
|
520
509
|
- spec/redhat/package_spec.rb
|
521
510
|
- spec/redhat/php_config_spec.rb
|
522
511
|
- spec/redhat/port_spec.rb
|
512
|
+
- spec/redhat/process_spec.rb
|
523
513
|
- spec/redhat/routing_table_spec.rb
|
524
514
|
- spec/redhat/selinux_spec.rb
|
525
515
|
- spec/redhat/service_spec.rb
|
@@ -527,6 +517,7 @@ test_files:
|
|
527
517
|
- spec/redhat/yumrepo_spec.rb
|
528
518
|
- spec/redhat/zfs_spec.rb
|
529
519
|
- spec/smartos/mail_alias_spec.rb
|
520
|
+
- spec/smartos/process_spec.rb
|
530
521
|
- spec/solaris/command_spec.rb
|
531
522
|
- spec/solaris/cron_spec.rb
|
532
523
|
- spec/solaris/default_gateway_spec.rb
|
@@ -539,6 +530,7 @@ test_files:
|
|
539
530
|
- spec/solaris/package_spec.rb
|
540
531
|
- spec/solaris/php_config_spec.rb
|
541
532
|
- spec/solaris/port_spec.rb
|
533
|
+
- spec/solaris/process_spec.rb
|
542
534
|
- spec/solaris/routing_table_spec.rb
|
543
535
|
- spec/solaris/service_spec.rb
|
544
536
|
- spec/solaris/svcprop_spec.rb
|