cdegroot/vagrant-selenium-grid — pull request #2 by cmiles74 (2013-12-10 20:15:02+00:00)
Title: Added an inline script to ensure proper start order

When I started up a new instance ("vagrant up"), everything would complete but only the Selenium node service would be running. I spent some time on the Puppet configuration and trying to alter it so that the node would depend on the hub service but nothing I did made a real difference. In the end, it struck me that this approach may be misguided: in this project both hub and node are on the same instance but that is not always the case.

In the end I added this inline script to stop the node, start the hub and then restart the node. This resolved the issue I was experiencing. On reboot, there is no issue.

This solution feels hacky to me, but I'm a bit at a loss.