serverspec 0.1.5 → 0.1.6
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/lib/serverspec/version.rb
CHANGED
@@ -35,7 +35,7 @@ describe commands.check_running('httpd') do
|
|
35
35
|
end
|
36
36
|
|
37
37
|
describe commands.check_process('httpd') do
|
38
|
-
it { should eq 'ps aux | grep -
|
38
|
+
it { should eq 'ps aux | grep -w httpd | grep -qv grep' }
|
39
39
|
end
|
40
40
|
|
41
41
|
describe commands.check_file_contain('/etc/passwd', 'root') do
|
@@ -35,7 +35,7 @@ describe commands.check_running('httpd') do
|
|
35
35
|
end
|
36
36
|
|
37
37
|
describe commands.check_process('httpd') do
|
38
|
-
it { should eq 'ps aux | grep -
|
38
|
+
it { should eq 'ps aux | grep -w httpd | grep -qv grep' }
|
39
39
|
end
|
40
40
|
|
41
41
|
describe commands.check_file_contain('/etc/passwd', 'root') do
|
@@ -35,7 +35,7 @@ describe commands.check_running('httpd') do
|
|
35
35
|
end
|
36
36
|
|
37
37
|
describe commands.check_process('httpd') do
|
38
|
-
it { should eq 'ps aux | grep -
|
38
|
+
it { should eq 'ps aux | grep -w httpd | grep -qv grep' }
|
39
39
|
end
|
40
40
|
|
41
41
|
describe commands.check_file_contain('/etc/passwd', 'root') do
|
@@ -35,7 +35,7 @@ describe commands.check_running('httpd') do
|
|
35
35
|
end
|
36
36
|
|
37
37
|
describe commands.check_process('httpd') do
|
38
|
-
it { should eq 'ps aux | grep -
|
38
|
+
it { should eq 'ps aux | grep -w httpd | grep -qv grep' }
|
39
39
|
end
|
40
40
|
|
41
41
|
describe commands.check_file_contain('/etc/passwd', 'root') do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-ssh
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
|
-
rubygems_version: 1.8.
|
154
|
+
rubygems_version: 1.8.23
|
155
155
|
signing_key:
|
156
156
|
specification_version: 3
|
157
157
|
summary: RSpec tests for your servers provisioned by Puppet, Chef or anything else
|