lib/beaker-pe/install/pe_utils.rb in beaker-pe-2.1.11 vs lib/beaker-pe/install/pe_utils.rb in beaker-pe-2.10.11
- old
+ new
@@ -531,9 +531,10 @@
def verify_vm_resources(hosts)
logger.notify("Checking the status of system (CPU/Mem) resources on PE Infrastructure nodes.")
pe_infrastructure = select_hosts({:roles => ['master', 'compile_master', 'pe_compiler', 'dashboard', 'database']}, hosts)
pe_infrastructure.each do |host|
on host, "top -bn1", :accept_all_exit_codes => true
+ on host, "vmstat 1 1", :accept_all_exit_codes => true
end
end
#Perform a Puppet Enterprise upgrade or install
# @param [Array<Host>] hosts The hosts to install or upgrade PE on