22.5.10. salt.cloud.clouds.linode

22.5.10.1. Linode Cloud Module

The Linode cloud module is used to control access to the Linode VPS system

Use of this module only requires the apikey parameter.

depends:libcloud >= 0.13.2

Set up the cloud configuration at /etc/salt/cloud.providers or /etc/salt/cloud.providers.d/linode.conf:

my-linode-config:
  # Linode account api key
  apikey: JVkbSJDGHSDKUKSDJfhsdklfjgsjdkflhjlsdfffhgdgjkenrtuinv
  provider: linode
salt.cloud.clouds.linode.avail_images(conn=None, call=None)

Return a dict of all available VM images on the cloud provider with relevant data

salt.cloud.clouds.linode.avail_locations(conn=None, call=None)

Return a dict of all available VM locations on the cloud provider with relevant data

salt.cloud.clouds.linode.avail_sizes(conn=None, call=None)

Return a dict of all available VM images on the cloud provider with relevant data

salt.cloud.clouds.linode.create(vm_)

Create a single VM from a data dict

salt.cloud.clouds.linode.destroy(name, conn=None, call=None)

Delete a single VM

salt.cloud.clouds.linode.get_configured_provider()

Return the first configured instance.

salt.cloud.clouds.linode.get_conn()

Return a conn object for the passed VM data

salt.cloud.clouds.linode.get_disk_size(vm_, size, swap)

Return the size of of the root disk in MB

salt.cloud.clouds.linode.get_image(conn, vm_)

Return the image object to use

salt.cloud.clouds.linode.get_location(conn, vm_)

Return the node location to use

salt.cloud.clouds.linode.get_node(conn, name)

Return a libcloud node for the named VM

salt.cloud.clouds.linode.get_password(vm_)

Return the password to use

salt.cloud.clouds.linode.get_private_ip(vm_)

Return True if a private ip address is requested

salt.cloud.clouds.linode.get_size(conn, vm_)

Return the VM's size object

salt.cloud.clouds.linode.get_swap(vm_)

Return the amount of swap space to use in MB

salt.cloud.clouds.linode.list_nodes(conn=None, call=None)

Return a list of the VMs that are on the provider

salt.cloud.clouds.linode.list_nodes_full(conn=None, call=None)

Return a list of the VMs that are on the provider, with all fields

salt.cloud.clouds.linode.list_nodes_select(conn=None, call=None)

Return a list of the VMs that are on the provider, with select fields

salt.cloud.clouds.linode.script(vm_)

Return the script deployment object

salt.cloud.clouds.linode.show_instance(name, call=None)

Show the details from the provider concerning an instance

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.1

Table Of Contents

Previous topic

22.5.9. salt.cloud.clouds.libcloud_aws

Next topic

22.5.11. salt.cloud.clouds.lxc

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.