serverspec 0.15.2 → 0.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/serverspec/helper/os.rb +1 -0
- data/lib/serverspec/setup.rb +1 -1
- 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/freebsd10/package_spec.rb +13 -0
- 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 +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9fe2a75c6d320919a500f69560daeb03d40578f
|
4
|
+
data.tar.gz: 6e9a93bed858b0acf275f6c6902671bc91bc0948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dce043b1300590b5fa22c2cce66c5afefe7041685ef950323adb701b1fbde6531d4f5e0370a0f6bd7b8049ced8d99223524d2365c32dc3665beeccdd74f07a9d
|
7
|
+
data.tar.gz: 352d489a6ceb5e303ce271b1eb1e734b2e72a7da5e69bfc2277ce4cff232ae0928173ec6c3bcb065104cd0d26931785d52bad819d57eea5329b220f5a34e1f63
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ require "octorelease"
|
|
5
5
|
task :spec => 'spec:all'
|
6
6
|
|
7
7
|
namespace :spec do
|
8
|
-
oses = %w( darwin debian gentoo plamo redhat aix solaris solaris10 solaris11 smartos windows freebsd)
|
8
|
+
oses = %w( darwin debian gentoo plamo redhat aix solaris solaris10 solaris11 smartos windows freebsd freebsd10)
|
9
9
|
|
10
10
|
task :all => [ oses.map {|os| "spec:#{os}" }, :exec, :ssh, :cmd, :winrm, :powershell, :helper ].flatten
|
11
11
|
|
data/lib/serverspec/helper/os.rb
CHANGED
data/lib/serverspec/setup.rb
CHANGED
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.5.
|
24
|
+
spec.add_runtime_dependency "specinfra", ">= 0.5.8"
|
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 | grep --
|
93
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/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 | grep --
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/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 | grep --
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/etc/pam.d/system-auth-ac'\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
include SpecInfra::Helper::FreeBSD10
|
4
|
+
|
5
|
+
describe package('httpd') do
|
6
|
+
it { should be_installed }
|
7
|
+
its(:command) { should eq "pkg info httpd" }
|
8
|
+
end
|
9
|
+
|
10
|
+
describe package('httpd') do
|
11
|
+
it { should be_installed.with_version('2.2.15-28.el6') }
|
12
|
+
its(:command) { should eq "pkg query %v httpd | grep -- 2.2.15-28.el6"}
|
13
|
+
end
|
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 | grep --
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/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 | grep --
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/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 | grep --
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/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 | grep --
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/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 | grep --
|
102
|
+
its(:command) { should eq "stat -c %N /etc/pam.d/system-auth | grep -- \"-> \\`/etc/pam.d/system-auth-ac'\"" }
|
103
103
|
end
|
104
104
|
|
105
105
|
describe file('dummy-link') do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.3
|
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-02-
|
11
|
+
date: 2014-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.5.
|
61
|
+
version: 0.5.8
|
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.5.
|
68
|
+
version: 0.5.8
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -251,6 +251,7 @@ files:
|
|
251
251
|
- spec/freebsd/routing_table_spec.rb
|
252
252
|
- spec/freebsd/service_spec.rb
|
253
253
|
- spec/freebsd/user_spec.rb
|
254
|
+
- spec/freebsd10/package_spec.rb
|
254
255
|
- spec/gentoo/cgroup_spec.rb
|
255
256
|
- spec/gentoo/command_spec.rb
|
256
257
|
- spec/gentoo/cron_spec.rb
|
@@ -462,6 +463,7 @@ test_files:
|
|
462
463
|
- spec/freebsd/routing_table_spec.rb
|
463
464
|
- spec/freebsd/service_spec.rb
|
464
465
|
- spec/freebsd/user_spec.rb
|
466
|
+
- spec/freebsd10/package_spec.rb
|
465
467
|
- spec/gentoo/cgroup_spec.rb
|
466
468
|
- spec/gentoo/command_spec.rb
|
467
469
|
- spec/gentoo/cron_spec.rb
|