lib/serverspec/backend/exec.rb in serverspec-0.2.24 vs lib/serverspec/backend/exec.rb in serverspec-0.2.25
- old
+ new
@@ -154,9 +154,11 @@
'Debian'
elsif run_command('ls /etc/gentoo-release')[:exit_status] == 0
'Gentoo'
elsif run_command('uname -s')[:stdout] =~ /SunOS/i
'Solaris'
+ elsif run_command('uname -s')[:stdout] =~ /Darwin/i
+ 'Darwin'
end
end
end
end