mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Update linode rest driver docs
This commit is contained in:
parent
c69650aa5f
commit
ddab875177
@ -32,6 +32,9 @@ The following is a list of actions currently supported by salt-cloud:
|
||||
- stop
|
||||
joyent:
|
||||
- stop
|
||||
linode:
|
||||
- start
|
||||
- stop
|
||||
|
||||
Another useful reference for viewing more salt-cloud actions is the
|
||||
:ref:Salt Cloud Feature Matrix <salt-cloud-feature-matrix>
|
||||
|
@ -100,13 +100,13 @@ instance name to be passed in. For example:
|
||||
+-----------------------+--------+----------+-------+---+------+------+------+---------+---------+---------+-------+---------+---------+------+
|
||||
|show_delvol_on_destroy | | | |Yes| | | | | | | | | | |
|
||||
+-----------------------+--------+----------+-------+---+------+------+------+---------+---------+---------+-------+---------+---------+------+
|
||||
|show_instance | | |Yes |Yes| | | | |Yes | | |Yes |Yes |Yes |
|
||||
|show_instance | | |Yes |Yes| | |Yes | |Yes | | |Yes |Yes |Yes |
|
||||
+-----------------------+--------+----------+-------+---+------+------+------+---------+---------+---------+-------+---------+---------+------+
|
||||
|show_term_protect | | | |Yes| | | | | | | | | | |
|
||||
+-----------------------+--------+----------+-------+---+------+------+------+---------+---------+---------+-------+---------+---------+------+
|
||||
|start |Yes | | |Yes| |Yes | | |Yes | | | | |Yes |
|
||||
|start |Yes | | |Yes| |Yes |Yes | |Yes | | | | |Yes |
|
||||
+-----------------------+--------+----------+-------+---+------+------+------+---------+---------+---------+-------+---------+---------+------+
|
||||
|stop |Yes | | |Yes| |Yes | | |Yes | | | | |Yes |
|
||||
|stop |Yes | | |Yes| |Yes |Yes | |Yes | | | | |Yes |
|
||||
+-----------------------+--------+----------+-------+---+------+------+------+---------+---------+---------+-------+---------+---------+------+
|
||||
|take_action | | | | | |Yes | | | | | | | | |
|
||||
+-----------------------+--------+----------+-------+---+------+------+------+---------+---------+---------+-------+---------+---------+------+
|
||||
|
@ -4,28 +4,9 @@ Getting Started With Linode
|
||||
|
||||
Linode is a public cloud provider with a focus on Linux instances.
|
||||
|
||||
Dependencies
|
||||
============
|
||||
* linode-python >= 1.1.1
|
||||
|
||||
OR
|
||||
|
||||
* Libcloud >= 0.13.2
|
||||
|
||||
This driver supports accessing Linode via linode-python or Apache Libcloud.
|
||||
Linode-python is recommended, it is more full-featured than Libcloud. In
|
||||
particular using linode-python enables stopping, starting, and cloning
|
||||
machines.
|
||||
|
||||
Driver selection is automatic. If linode-python is present it will be used.
|
||||
If it is absent, salt-cloud will fall back to Libcloud. If neither are present
|
||||
salt-cloud will abort.
|
||||
|
||||
NOTE: linode-python 1.1.1 or later is recommended. Earlier versions of linode-python
|
||||
should work but leak sensitive information into the debug logs.
|
||||
|
||||
Linode-python can be downloaded from
|
||||
https://github.com/tjfontaine/linode-python or installed via pip.
|
||||
Starting in the Beryllium release of Salt, the Linode driver uses Linode's
|
||||
native REST API, so there are not external dependencies required to use the
|
||||
linode driver.
|
||||
|
||||
Configuration
|
||||
=============
|
||||
@ -152,7 +133,7 @@ Cloning
|
||||
|
||||
When salt-cloud accesses Linode via linode-python it can clone machines.
|
||||
|
||||
It is safest to clone a stopped machine. To stop a machine run
|
||||
It is safest to clone a stopped machine. To stop a machine run
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
@ -168,8 +149,8 @@ cloud profile that looks like this:
|
||||
clonefrom: machine_to_clone
|
||||
script_args: -C
|
||||
|
||||
Then run salt-cloud as normal, specifying `-p li-clone`. The profile name can
|
||||
be anything--it doesn't have to be `li-clone`.
|
||||
Then run salt-cloud as normal, specifying `-p li-clone`. The profile name can
|
||||
be anything; It doesn't have to be `li-clone`.
|
||||
|
||||
`Clonefrom:` is the name of an existing machine in Linode from which to clone.
|
||||
`Script_args: -C` is necessary to avoid re-deploying Salt via salt-bootstrap.
|
||||
|
Loading…
Reference in New Issue
Block a user