l.d.ScriptDeployment(Deployment) : class documentation

Part of libcloud.deployment View Source View In Hierarchy

Runs an arbitrary Shell Script task.
Method __init__ @type script: C{str} @keyword script: Contents of the script to run
Method run Uploads the shell script and then executes it.
def __init__(self, script, name=None, delete=False): (source)
@type script: C{str}
@keyword script: Contents of the script to run

@type name: C{str}
@keyword name: Name of the script to upload it as, if not specified, a random name will be choosen.

@type delete: C{bool}
@keyword delete: Whether to delete the script on completion.
def run(self, node, client): (source)
Uploads the shell script and then executes it.

See also L{Deployment.run}
API Documentation for libcloud, generated by pydoctor at 2011-07-02 22:19:34.