serverspec 0.15.3 → 0.15.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -13
- data/WINDOWS_SUPPORT.md +16 -0
- data/lib/serverspec/helper/type.rb +1 -1
- data/lib/serverspec/setup.rb +3 -1
- data/lib/serverspec/type/cgroup.rb +1 -1
- data/lib/serverspec/type/file.rb +7 -3
- data/lib/serverspec/type/iis_app_pool.rb +18 -0
- data/lib/serverspec/type/iis_website.rb +31 -0
- data/lib/serverspec/type/package.rb +4 -5
- data/lib/serverspec/type/service.rb +8 -0
- data/lib/serverspec/version.rb +1 -1
- data/serverspec.gemspec +1 -1
- data/spec/aix/file_spec.rb +1 -1
- data/spec/debian/file_spec.rb +1 -1
- data/spec/freebsd/file_spec.rb +1 -1
- data/spec/freebsd/package_spec.rb +1 -1
- data/spec/gentoo/file_spec.rb +1 -1
- data/spec/plamo/file_spec.rb +1 -1
- data/spec/redhat/file_spec.rb +1 -1
- data/spec/solaris/file_spec.rb +1 -1
- data/spec/solaris11/file_spec.rb +1 -1
- metadata +25 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba0bed92e0a41a01612bbd59c78bc09ac212b476
|
4
|
+
data.tar.gz: ad2d1644ed448b7cfb7bff845df475da64c2d2a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670f031114b3ad140c8fdab04c360f946c46d1a94b64dafd95df75b9c43fae66318f8ba6db70b51adeb958a2f03057597f4e63198d3261c5b95466a6fd6da79d
|
7
|
+
data.tar.gz: 1f0da817ddcc9118f7a2acfc5c2921c7f06fe297eb8e692ac9995cde5660d18798b19f0b74276ed8f878bf8f0a105854a11695909acb137247577839ffeb5539
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ You can see the details of serverspec on [serverspec.org](http://serverspec.org/
|
|
6
6
|
|
7
7
|
----
|
8
8
|
|
9
|
-
## Installation
|
9
|
+
## Quick Installation
|
10
10
|
|
11
11
|
Add this line to your application's Gemfile:
|
12
12
|
|
@@ -26,6 +26,13 @@ Or install it yourself as:
|
|
26
26
|
|
27
27
|
```
|
28
28
|
$ serverspec-init
|
29
|
+
Select OS type:
|
30
|
+
|
31
|
+
1) UN*X
|
32
|
+
2) Windows
|
33
|
+
|
34
|
+
Select number: 1
|
35
|
+
|
29
36
|
Select a backend type:
|
30
37
|
|
31
38
|
1) SSH
|
@@ -33,6 +40,7 @@ Select a backend type:
|
|
33
40
|
|
34
41
|
Select number: 1
|
35
42
|
|
43
|
+
Vagrant instance y/n: n
|
36
44
|
Input target host name: www.example.jp
|
37
45
|
|
38
46
|
+ spec/
|
@@ -42,7 +50,7 @@ Input target host name: www.example.jp
|
|
42
50
|
+ Rakefile
|
43
51
|
```
|
44
52
|
|
45
|
-
spec/www.example.jp/httpd_spec.rb is a sample spec file and its content is like this.
|
53
|
+
`spec/www.example.jp/httpd_spec.rb` is a sample spec file and its content is like this.
|
46
54
|
|
47
55
|
```ruby
|
48
56
|
require 'spec_helper'
|
@@ -62,16 +70,17 @@ end
|
|
62
70
|
|
63
71
|
describe file('/etc/httpd/conf/httpd.conf') do
|
64
72
|
it { should be_file }
|
65
|
-
|
73
|
+
its(:content) { should match /ServerName www.example.jp/ }
|
66
74
|
end
|
67
75
|
```
|
68
76
|
|
69
|
-
You can write
|
77
|
+
You can write specs for testing servers like this.
|
70
78
|
|
71
|
-
Serverspec with SSH backend logs in to target servers as a user configured in ``~/.ssh/config`` or a current user.If
|
79
|
+
Serverspec with SSH backend logs in to target servers as a user configured in ``~/.ssh/config`` or a current user. If
|
80
|
+
you'd like to change the user, please edit the below line in ``spec/spec_helper.rb``.
|
72
81
|
|
73
82
|
```ruby
|
74
|
-
|
83
|
+
user = options[:user] || Etc.getlogin
|
75
84
|
```
|
76
85
|
|
77
86
|
Run tests.
|
@@ -88,11 +97,11 @@ Finished in 0.99715 seconds
|
|
88
97
|
----
|
89
98
|
## Multi OS support
|
90
99
|
|
91
|
-
Serverspec
|
100
|
+
Serverspec supports Darwin based OS, Red Hat based OS, Debian based OS, Gentoo and Solaris.
|
92
101
|
|
93
102
|
Serverspec can detect target host's OS automatically.
|
94
103
|
|
95
|
-
If you'd like to set target host's OS explicitly, you should include `
|
104
|
+
If you'd like to set target host's OS explicitly, you should include `SpecInfra::Helper::OSName` in `spec/spec_helper.rb` like this.
|
96
105
|
|
97
106
|
|
98
107
|
```ruby
|
@@ -100,8 +109,8 @@ require 'serverspec'
|
|
100
109
|
require 'pathname'
|
101
110
|
require 'net/ssh'
|
102
111
|
|
103
|
-
include
|
104
|
-
include
|
112
|
+
include SpecInfra::Helper::Ssh
|
113
|
+
include SpecInfra::Helper::Debian
|
105
114
|
|
106
115
|
RSpec.configure do |c|
|
107
116
|
# Add SSH before hook in case you use the SSH backend
|
@@ -119,11 +128,17 @@ RSpec.configure do |c|
|
|
119
128
|
end
|
120
129
|
```
|
121
130
|
|
122
|
-
You can select
|
131
|
+
You can select from:
|
132
|
+
|
133
|
+
* SpecInfra::Helper::RedHat
|
134
|
+
* SpecInfra::Helper::Debian
|
135
|
+
* SpecInfra::Helper::Gentoo
|
136
|
+
* SpecInfra::Helper::Solaris
|
137
|
+
* SpecInfra::Helper::Darwin
|
123
138
|
|
124
139
|
## Vagrant support
|
125
140
|
|
126
|
-
Serverspec now has Vagrant support, and can be automatically configured from a Vagrantfile
|
141
|
+
Serverspec now has Vagrant support, and can be automatically configured from a Vagrantfile.
|
127
142
|
|
128
143
|
```
|
129
144
|
$ serverspec-init
|
@@ -138,7 +153,7 @@ Vagrant instance y/n: y
|
|
138
153
|
Auto-configure Vagrant from Vagrantfile? y/n: y
|
139
154
|
0) web
|
140
155
|
1) db
|
141
|
-
1
|
156
|
+
Choose a VM from the Vagrantfile: 1
|
142
157
|
+ spec/db/
|
143
158
|
+ spec/db/httpd_spec.rb
|
144
159
|
+ spec/spec_helper.rb
|
data/WINDOWS_SUPPORT.md
CHANGED
@@ -54,8 +54,10 @@ describe package('Adobe AIR') do
|
|
54
54
|
end
|
55
55
|
|
56
56
|
describe service('DNS Client') do
|
57
|
+
it { should be_installed }
|
57
58
|
it { should be_enabled }
|
58
59
|
it { should be_running }
|
60
|
+
it { should have_start_mode("Manual") }
|
59
61
|
end
|
60
62
|
|
61
63
|
describe port(139) do
|
@@ -95,6 +97,20 @@ describe windows_feature('Minesweeper') do
|
|
95
97
|
it{ should be_installed.by("dism") }
|
96
98
|
it{ should be_installed.by("powershell") }
|
97
99
|
end
|
100
|
+
|
101
|
+
describe iis_website("Default Website") do
|
102
|
+
it { should exist }
|
103
|
+
it { should be_enabled }
|
104
|
+
it { should be_running }
|
105
|
+
it { should be_in_app_pool "DefaultAppPool" }
|
106
|
+
it { should have_physical_path "c:/inetpub/wwwroot" }
|
107
|
+
end
|
108
|
+
|
109
|
+
describe iis_app_pool("DefaultAppPool") do
|
110
|
+
it { should exist }
|
111
|
+
it { should have_dotnet_version "2.0" }
|
112
|
+
end
|
113
|
+
|
98
114
|
```
|
99
115
|
|
100
116
|
###Notes:
|
@@ -2,7 +2,7 @@ module Serverspec
|
|
2
2
|
module Helper
|
3
3
|
module Type
|
4
4
|
types = %w(
|
5
|
-
base cgroup command cron default_gateway file group host interface
|
5
|
+
base cgroup command cron default_gateway file group host iis_website iis_app_pool interface
|
6
6
|
ipfilter ipnat iptables kernel_module linux_kernel_parameter lxc mail_alias
|
7
7
|
package php_config port process routing_table selinux service user yumrepo
|
8
8
|
windows_feature windows_registry_key zfs
|
data/lib/serverspec/setup.rb
CHANGED
@@ -161,7 +161,9 @@ require 'rspec/core/rake_task'
|
|
161
161
|
RSpec::Core::RakeTask.new(:spec) do |t|
|
162
162
|
t.pattern = 'spec/*/*_spec.rb'
|
163
163
|
end
|
164
|
-
|
164
|
+
|
165
|
+
task :default => :spec
|
166
|
+
EOF
|
165
167
|
if File.exists? 'Rakefile'
|
166
168
|
old_content = File.read('Rakefile')
|
167
169
|
if old_content != content
|
data/lib/serverspec/type/file.rb
CHANGED
@@ -17,9 +17,9 @@ module Serverspec
|
|
17
17
|
|
18
18
|
def contain(pattern, from, to)
|
19
19
|
if (from || to).nil?
|
20
|
-
|
20
|
+
backend.check_file_contain(@name, pattern)
|
21
21
|
else
|
22
|
-
|
22
|
+
backend.check_file_contain_within(@name, pattern, from, to)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
@@ -67,6 +67,10 @@ module Serverspec
|
|
67
67
|
backend.check_mounted(@name, attr, only_with)
|
68
68
|
end
|
69
69
|
|
70
|
+
def match_checksum(checksum)
|
71
|
+
backend.check_file_checksum(@name, checksum)
|
72
|
+
end
|
73
|
+
|
70
74
|
def match_md5checksum(md5sum)
|
71
75
|
backend.check_file_md5checksum(@name, md5sum)
|
72
76
|
end
|
@@ -83,7 +87,7 @@ module Serverspec
|
|
83
87
|
end
|
84
88
|
|
85
89
|
def version?(version)
|
86
|
-
|
90
|
+
backend.check_file_version(@name, version)
|
87
91
|
end
|
88
92
|
end
|
89
93
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Serverspec
|
2
|
+
module Type
|
3
|
+
class IisAppPool < Base
|
4
|
+
def exists?()
|
5
|
+
backend.check_iis_app_pool(@name)
|
6
|
+
end
|
7
|
+
|
8
|
+
def has_dotnet_version?(dotnet)
|
9
|
+
backend.check_iis_app_pool_dotnet(@name, dotnet)
|
10
|
+
end
|
11
|
+
|
12
|
+
def to_s
|
13
|
+
%Q[IIS Application Pool "#{@name}"]
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module Serverspec
|
2
|
+
module Type
|
3
|
+
class IisWebsite < Base
|
4
|
+
|
5
|
+
def exists?()
|
6
|
+
backend.check_iis_website_installed(@name)
|
7
|
+
end
|
8
|
+
|
9
|
+
def enabled?()
|
10
|
+
backend.check_iis_website_enabled(@name)
|
11
|
+
end
|
12
|
+
|
13
|
+
def running?()
|
14
|
+
backend.check_iis_website_running(@name)
|
15
|
+
end
|
16
|
+
|
17
|
+
def in_app_pool?(app_pool)
|
18
|
+
backend.check_iis_website_app_pool(@name, app_pool)
|
19
|
+
end
|
20
|
+
|
21
|
+
def has_physical_path?(path)
|
22
|
+
backend.check_iis_website_path(@name, path)
|
23
|
+
end
|
24
|
+
|
25
|
+
def to_s
|
26
|
+
%Q[IIS Website "#{@name}"]
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -34,13 +34,13 @@ module Serverspec
|
|
34
34
|
if matches.nil?
|
35
35
|
raise ArgumentError, "Malformed version number string #{val}"
|
36
36
|
end
|
37
|
-
@epoch
|
37
|
+
@epoch = matches[1].to_i
|
38
38
|
@version = matches[2].to_s
|
39
39
|
end
|
40
40
|
|
41
41
|
def <=>(other)
|
42
42
|
other = Version.new(other) if other.is_a?(String)
|
43
|
-
rv
|
43
|
+
rv = @epoch <=> other.epoch
|
44
44
|
return rv if rv != 0
|
45
45
|
|
46
46
|
self.ver_array <=> other.ver_array
|
@@ -48,9 +48,9 @@ module Serverspec
|
|
48
48
|
|
49
49
|
def ver_array
|
50
50
|
val = @version
|
51
|
-
re
|
51
|
+
re = /^(?:(\d+)|(\D+))(.*)$/
|
52
52
|
res = []
|
53
|
-
|
53
|
+
until val.empty?
|
54
54
|
matches = val.match(re)
|
55
55
|
if matches[1].nil?
|
56
56
|
# String
|
@@ -65,7 +65,6 @@ module Serverspec
|
|
65
65
|
val = matches[3].to_s
|
66
66
|
end
|
67
67
|
res << -1
|
68
|
-
return res
|
69
68
|
end
|
70
69
|
end
|
71
70
|
end
|
@@ -5,6 +5,14 @@ module Serverspec
|
|
5
5
|
backend.check_enabled(@name, level)
|
6
6
|
end
|
7
7
|
|
8
|
+
def installed?(name, version)
|
9
|
+
backend.check_service_installed(@name)
|
10
|
+
end
|
11
|
+
|
12
|
+
def has_start_mode?(mode)
|
13
|
+
backend.check_service_start_mode(@name, mode)
|
14
|
+
end
|
15
|
+
|
8
16
|
def running?(under)
|
9
17
|
if under
|
10
18
|
check_method = "check_running_under_#{under}".to_sym
|
data/lib/serverspec/version.rb
CHANGED
data/serverspec.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_runtime_dependency "net-ssh"
|
22
22
|
spec.add_runtime_dependency "rspec", ">= 2.13.0"
|
23
23
|
spec.add_runtime_dependency "highline"
|
24
|
-
spec.add_runtime_dependency "specinfra", ">= 0.
|
24
|
+
spec.add_runtime_dependency "specinfra", ">= 0.7.1"
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
26
26
|
spec.add_development_dependency "rake"
|
27
27
|
spec.add_development_dependency "octorelease"
|
data/spec/aix/file_spec.rb
CHANGED
@@ -90,7 +90,7 @@ end
|
|
90
90
|
|
91
91
|
describe file('/etc/pam.d/system-auth') do
|
92
92
|
it { should be_linked_to '/etc/pam.d/system-auth-ac' }
|
93
|
-
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth |
|
93
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | egrep -e \"-> ./etc/pam.d/system-auth-ac.\"" }
|
94
94
|
end
|
95
95
|
|
96
96
|
describe file('dummy-link') do
|
data/spec/debian/file_spec.rb
CHANGED
@@ -99,7 +99,7 @@ end
|
|
99
99
|
|
100
100
|
describe file('/etc/pam.d/system-auth') do
|
101
101
|
it { should be_linked_to '/etc/pam.d/system-auth-ac' }
|
102
|
-
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth |
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | egrep -e \"-> ./etc/pam.d/system-auth-ac.\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
data/spec/freebsd/file_spec.rb
CHANGED
@@ -99,7 +99,7 @@ end
|
|
99
99
|
|
100
100
|
describe file('/etc/pam.d/system-auth') do
|
101
101
|
it { should be_linked_to '/etc/pam.d/system-auth-ac' }
|
102
|
-
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth |
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | egrep -e \"-> ./etc/pam.d/system-auth-ac.\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
data/spec/gentoo/file_spec.rb
CHANGED
@@ -99,7 +99,7 @@ end
|
|
99
99
|
|
100
100
|
describe file('/etc/pam.d/system-auth') do
|
101
101
|
it { should be_linked_to '/etc/pam.d/system-auth-ac' }
|
102
|
-
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth |
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | egrep -e \"-> ./etc/pam.d/system-auth-ac.\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
data/spec/plamo/file_spec.rb
CHANGED
@@ -99,7 +99,7 @@ end
|
|
99
99
|
|
100
100
|
describe file('/etc/pam.d/system-auth') do
|
101
101
|
it { should be_linked_to '/etc/pam.d/system-auth-ac' }
|
102
|
-
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth |
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | egrep -e \"-> ./etc/pam.d/system-auth-ac.\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
data/spec/redhat/file_spec.rb
CHANGED
@@ -99,7 +99,7 @@ end
|
|
99
99
|
|
100
100
|
describe file('/etc/pam.d/system-auth') do
|
101
101
|
it { should be_linked_to '/etc/pam.d/system-auth-ac' }
|
102
|
-
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth |
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | egrep -e \"-> ./etc/pam.d/system-auth-ac.\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
data/spec/solaris/file_spec.rb
CHANGED
@@ -99,7 +99,7 @@ end
|
|
99
99
|
|
100
100
|
describe file('/etc/pam.d/system-auth') do
|
101
101
|
it { should be_linked_to '/etc/pam.d/system-auth-ac' }
|
102
|
-
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth |
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | egrep -e \"-> ./etc/pam.d/system-auth-ac.\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
data/spec/solaris11/file_spec.rb
CHANGED
@@ -99,7 +99,7 @@ end
|
|
99
99
|
|
100
100
|
describe file('/etc/pam.d/system-auth') do
|
101
101
|
it { should be_linked_to '/etc/pam.d/system-auth-ac' }
|
102
|
-
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth |
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | egrep -e \"-> ./etc/pam.d/system-auth-ac.\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
metadata
CHANGED
@@ -1,111 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 2.13.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.13.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: highline
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: specinfra
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.7.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.7.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: octorelease
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
description: RSpec tests for your servers configured by Puppet, Chef or anything else
|
@@ -116,8 +116,8 @@ executables:
|
|
116
116
|
extensions: []
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
|
-
- .gitignore
|
120
|
-
- .travis.yml
|
119
|
+
- ".gitignore"
|
120
|
+
- ".travis.yml"
|
121
121
|
- Gemfile
|
122
122
|
- Guardfile
|
123
123
|
- LICENSE.txt
|
@@ -162,6 +162,8 @@ files:
|
|
162
162
|
- lib/serverspec/type/file.rb
|
163
163
|
- lib/serverspec/type/group.rb
|
164
164
|
- lib/serverspec/type/host.rb
|
165
|
+
- lib/serverspec/type/iis_app_pool.rb
|
166
|
+
- lib/serverspec/type/iis_website.rb
|
165
167
|
- lib/serverspec/type/interface.rb
|
166
168
|
- lib/serverspec/type/ipfilter.rb
|
167
169
|
- lib/serverspec/type/ipnat.rb
|
@@ -381,17 +383,17 @@ require_paths:
|
|
381
383
|
- lib
|
382
384
|
required_ruby_version: !ruby/object:Gem::Requirement
|
383
385
|
requirements:
|
384
|
-
- -
|
386
|
+
- - ">="
|
385
387
|
- !ruby/object:Gem::Version
|
386
388
|
version: '0'
|
387
389
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
388
390
|
requirements:
|
389
|
-
- -
|
391
|
+
- - ">="
|
390
392
|
- !ruby/object:Gem::Version
|
391
393
|
version: '0'
|
392
394
|
requirements: []
|
393
395
|
rubyforge_project:
|
394
|
-
rubygems_version: 2.
|
396
|
+
rubygems_version: 2.2.2
|
395
397
|
signing_key:
|
396
398
|
specification_version: 4
|
397
399
|
summary: RSpec tests for your servers configured by Puppet, Chef or anything else
|