theforeman/foreman — pull request #336 by ohadlevy (2012-12-27 13:09:11+00:00)
Title: fixes #1947 - wrong notice pressing the power on/off button for vmware h...

...osts

* now using the real state from the server
* also made sure that we validate power on/off requests
* ensured our fog server objects respond to to_s and to state