serverspec 0.6.18 → 0.6.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/serverspec/backend/exec.rb +1 -1
- data/lib/serverspec/version.rb +1 -1
- metadata +1 -1
@@ -197,7 +197,7 @@ module Serverspec
|
|
197
197
|
'Debian'
|
198
198
|
elsif run_command('ls /etc/gentoo-release')[:exit_status] == 0
|
199
199
|
'Gentoo'
|
200
|
-
elsif os = run_command('uname -sr')[:stdout] && os =~ /SunOS/i
|
200
|
+
elsif (os = run_command('uname -sr')[:stdout]) && os =~ /SunOS/i
|
201
201
|
if os =~ /5.10/
|
202
202
|
'Solaris10'
|
203
203
|
elsif run_command('grep -q SmartOS /etc/release')
|
data/lib/serverspec/version.rb
CHANGED