The Linode cloud module is used to control access to the Linode VPS system
Use of this module only requires the apikey parameter.
depends: | linode-python >= 1.1.1 |
---|
OR :depends: apache-libcloud >= 0.13.2
Note
The linode-python driver will work with earlier versions of linode-python, but it is highly recommended to use a minimum version of 1.1.1. Earlier versions leak sensitive information into the debug logs.
Set up the cloud configuration at /etc/salt/cloud.providers or /etc/salt/cloud.providers.d/linode.conf:
When used with linode-python, this provider supports cloning existing Linodes. To clone, add a profile with a clonefrom key, and a script_args: -C.
Clonefrom should be the name of the that is the source for the clone. script_args: -C passes a -C to the bootstrap script, which only configures the minion and doesn't try to install a new copy of salt-minion. This way the minion gets new keys and the keys get pre-seeded on the master, and the /etc/salt/minion file has the right 'id:' declaration.
Cloning requires a post 2015-02-01 salt-bootstrap.
Return a dict of all available VM images on the cloud provider with relevant data
Return a dict of all available VM locations on the cloud provider with relevant data
Return a dict of all available VM images on the cloud provider with relevant data
Execute a boot sequence on a linode
Create a single VM from a data dict
Create a Linode Config
Create the disk for the linode
Create the disk for the linode
Delete a single VM
Return either NodeAuthSSHKey or NodeAuthPassword, preferring NodeAuthSSHKey if both are provided.
Return the first configured instance.
Return a conn object for the passed VM data
Return the size of of the root disk in MB
Return the image object to use
Get Linode's list of kernels available
Return the node location to use
Return a libcloud node for the named VM
Return data on one kernel name=None returns latest kernel
Return the password to use
Return True if a private ip address is requested
Return the SSH pubkey to use
Return the VM's size object
Return path to filename if get_auth() returns a NodeAuthSSHKey.
Return the amount of swap space to use in MB
Return a list of the VMs that are on the provider
Return a list of the VMs that are on the provider, with all fields
Return a list of the VMs that are on the provider, with select fields
Linode-python is now returning some complex types that are not serializable by msgpack. Kill those.
Return the script deployment object
Show the details from the provider concerning an instance
Wait for a certain status
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2014.7.2