serverspec 0.6.18 → 0.6.19
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/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