Sha256: 20ad0de16e4e083abc6d96d8fc1432a8d223cf96d923ba7c89d29942425bfa26
Contents?: true
Size: 1.01 KB
Versions: 42
Compression:
Stored size: 1.01 KB
Contents
class TestLab module Support # Execution Support Module # # @author Zachary Patten <zachary AT jovelabs DOT com> module Execution # Bootstrap # # Renders the supplied content into a file over the SSH connection and # executes it as the 'root' user. def bootstrap(content, options={}) ssh.bootstrap(content, options) end # Execute # # Executes the supplied command over the SSH connection. def exec(command, options={}) ssh.exec(command, options) end # File # # Renders the supplied file over the SSH connection. def file(options={}, &block) ssh.file(options, &block) end # Uploads # # Uploads the supplied file over the SSH connection. def upload(local, remote, options={}) ssh.upload(local, remote, options) end # Download def download(remote, local, options={}) ssh.download(remote, local, options) end end end end
Version data entries
42 entries across 42 versions & 1 rubygems