forked from capistrano/capistrano
-
Notifications
You must be signed in to change notification settings - Fork 0
2.x DSL Documentation Action Module
serverninja edited this page Jul 2, 2012
·
3 revisions
There are several helper methods that Capistrano provides for you to use in your recipes. These helpers vary in purpose from executing commands, to transferring files, to manipulating the output of a command:
-
runExecute commands on one or more servers (more...) -
sudo(Deprecated) Execute commands on one or more servers via sudo. (more...) -
parallelExecute multiple commands on multiple servers in parallel (more...)
-
captureExecutes a command on a single host and returns ("captures") the output as a string. (more...) -
streamVery similar to run, but optimized for displaying live streams of text (like tailed log files) from multiple hosts. (more...)
The file-transfer actions all use either scp or sftp to move files to or from the remote hosts.
-
putStore the contents of a file on multiple servers. (more...) -
getTransfers a file from a single remote server to the local host. (more...) -
uploadTransfers a file or directory from the local host to multiple remote hosts, in parallel. (more...) -
downloadTransfers a file or directory from multiple remote hosts to the local host, in parallel. (more...)