diff --git a/libraries/postgres_service_resource.rb b/libraries/postgres_service_resource.rb index 0790243..7cac309 100644 --- a/libraries/postgres_service_resource.rb +++ b/libraries/postgres_service_resource.rb @@ -91,7 +91,7 @@ def available_ram case node['platform'] when 'smartos' shell_out!('prtconf -m').stdout.chomp.to_i - when 'linux' + when 'linux', 'oracle' shell_out!("free | grep Mem | awk '{print $2}'").stdout.chomp.to_i / 1024 end end