alphagov/fabric-scripts — pull request #61 by philandstuff (2014-10-13 15:12:44+00:00)
Title: Add task to select machines by puppet class

This allows things like

fab staging puppet_class:govuk_elasticsearch numbered:1
es.safe_reboot

or

fab staging puppet_class:govuk::safe_to_reboot::yes numbered:2 vm.reboot

though I think this last command needs more thought as it includes
mongos and elasticsearches which need a bit better handling.