l.c.d.ScriptDeployment(Deployment) : class documentation

Part of libcloud.compute.deployment View Source View In Hierarchy

Known subclasses: libcloud.compute.deployment.ScriptFileDeployment

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.

Inherited from Deployment:

Method _get_string_value Undocumented
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 2013-07-01 17:02:02.