l.d.ScriptDeployment(Deployment) : class documentation

Part of libcloud.deployment View Source View In Hierarchy

Runs an arbitrary Shell Script task.
Method __init__
Method run Uploads the shell script and then executes it.

Inherited from Deployment:

Method _get_string_value Undocumented
def __init__(self, script, name=None, delete=False): (source)
ParametersscriptContents of the script to run (type: str)
nameName of the script to upload it as, if not specified, a random name will be choosen. (type: str)
deleteWhether to delete the script on completion. (type: bool)
def run(self, node, client): (source)
Uploads the shell script and then executes it.

See also Deployment.run

API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:46:59.