lib/serverspec/backend/exec.rb in serverspec-0.9.1 vs lib/serverspec/backend/exec.rb in serverspec-0.9.2
- old
+ new
@@ -164,9 +164,11 @@
'RedHat' # Amazon Linux
elsif run_command('ls /etc/debian_version')[:exit_status] == 0
'Debian'
elsif run_command('ls /etc/gentoo-release')[:exit_status] == 0
'Gentoo'
+ elsif run_command('uname -s')[:stdout] =~ /AIX/i
+ 'Aix'
elsif (os = run_command('uname -sr')[:stdout]) && os =~ /SunOS/i
if os =~ /5.10/
'Solaris10'
elsif run_command('grep -q "Oracle Solaris 11" /etc/release')[:exit_status] == 0
'Solaris11'