leehambley/sshkit — pull request #24 by seenmyfate (2013-08-02 09:27:37+00:00)
Title: Add `run_locally` functionality

To run local commands, replace `on` with `run_locally`:

run_locally do
within '/tmp' do
execute :whoami
end
end

stdout, stderr and exit status are captured and passed to the configured
formatter.