lib/consolr/runners/ipmitool.rb in consolr-1.1.1 vs lib/consolr/runners/ipmitool.rb in consolr-1.1.2

- old
+ new

@@ -73,9 +73,13 @@ def sensors node cmd 'sensor list', node end + def sol_info node + cmd 'session info active', node + end + private def cmd action, node system("#{@ipmitool} -I lanplus -H #{node.ipmi.address} -U #{node.ipmi.username} -P #{node.ipmi.password} #{action}") return $?.exitstatus == 0 ? "SUCCESS" : "FAILED" end