8000 Salt Cloud doc update. by techhat · Pull Request #8765 · saltstack/salt · GitHub
[go: up one dir, main page]

Skip to content

Salt Cloud doc update. #8765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 23, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/topics/cloud/action.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The following is a list of actions currently supported by salt-cloud:

all providers:
- reboot
aws:
ec2:
- start
- stop
joyent:
Expand Down
4 changes: 2 additions & 2 deletions doc/topics/cloud/gce.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Getting Started With Google Compute Engine
==========================================

Google Compute Engine (GCE) is Goolge-infrastructure as a service that lets you
Google Compute Engine (GCE) is Google-infrastructure as a service that lets you
run your large-scale computing workloads on virtual machines. This document
covers how to use Salt Cloud to provision and manage your virtual machines
hosted within Google's infrastructure.
Expand All @@ -14,7 +14,7 @@ at https://cloud.google.com.
Dependencies
============
* `Libcloud <http://libcloud.apache.org>`_ version 0.14.0-beta3 or greater
* A Google Cloud Platform account with Copmute Engine enabled
* A Google Cloud Platform account with Compute Engine enabled
* A registered Service Account for authorization
* Oh, and obviously you'll need `salt <https://github.com/saltstack/salt>`_

Expand Down
3 changes: 2 additions & 1 deletion doc/topics/cloud/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ Getting Started
Some quick guides covering getting started with Amazon AWS, Google Compute
Engine, Parallels, Rackspace, and Softlayer.

* :doc:`Getting Started With AWS <aws>`
* :doc:`Getting Started With AWS/EC2 <aws>`
* :doc:`Getting Started With Google Compute Engine <gce>`
* :doc:`Getting Started With Linode <linode>`
* :doc:`Getting Started With Parallels <parallels>`
* :doc:`Getting Started With Rackspace <rackspace>`
* :doc:`Getting Started With SoftLayer <softlayer>`
Expand Down
< 8000 div id="diff-84fd71016970bf0a57a8101ca498c0ca65587b02abf87c16c9a8498a24a9aca2" data-details-container-group="file" class="file js-file js-details-container js-targetable-element show-inline-notes Details Details--on open soft-wrap file-type-prose " data-file-type=".rst" data-file-deleted="false" data-tagsearch-path="doc/topics/cloud/linode.rst" data-targets="diff-file-filter.diffEntries" >
102 changes: 102 additions & 0 deletions doc/topics/cloud/linode.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
===========================
Getting Started With Linode
===========================

Linode is a public cloud provider with a focus on Linux instances.

Dependencies
============
The Linode driver for Salt Cloud requires Libcloud 0.13.2 or higher to be
installed.


Configuration
=============
Linode requires a single API key, but the default root password for new
instances also needs to be set:

.. code-block:: yaml

# Note: This example is for /etc/salt/cloud.providers or any file in the
# /etc/salt/cloud.providers.d/ directory.

my-linode-config:
apikey: asldkgfakl;sdfjsjaslfjaklsdjf;askldjfaaklsjdfhasldsadfghdkf
password: F00barbaz
provider: linode

The password needs to be 8 characters and contain lowercase, uppercase and
numbers.

Profiles
========
8000
Cloud Profiles
~~~~~~~~~~~~~~
Set up an initial profile at ``/etc/salt/cloud.profiles`` or in the
``/etc/salt/cloud.profiles.d/`` directory:

.. code-block:: yaml

linode_1024:
provider: my-linode-config
size: Linode 1024
image: Arch Linux 2013.06

Sizes can be obtained using the ``--list-sizes`` option for the ``salt-cloud``
command:

.. code-block:: bash

# salt-cloud --list-sizes my-linode-config
my-linode-config:
----------
linode:
----------
Linode 1024:
----------
bandwidth:
2000
disk:
49152
driver:
get_uuid:
id:
1
name:
Linode 1024
price:
20.0
ram:
1024
uuid:
03e18728ce4629e2ac07c9cbb48afffb8cb499c4
...SNIP...

Images can be obtained using the ``--list-images`` option for the ``salt-cloud``
command:

.. code-block:: bash

# salt-cloud --list-images my-linode-config
my-linode-config:
----------
linode:
----------
Arch Linux 2013.06:
----------
driver:
extra:
----------
64bit:
1
pvops:
1
get_uuid:
id:
112
name:
Arch Linux 2013.06
uuid:
8457f92eaffc92b7666b6734a96ad7abe1a8a6dd
...SNIP...
2 changes: 1 addition & 1 deletion doc/topics/cloud/map.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ A map file may also be used with the various query options:
.. code-block:: bash

$ salt-cloud -m /path/to/mapfile -Q
{'aws': {'web1': {'id': 'i-e6aqfegb',
{'ec2': {'web1': {'id': 'i-e6aqfegb',
'image': None,
'private_ips': [],
'public_ips': [],
Expand Down
4 changes: 2 additions & 2 deletions doc/topics/cloud/misc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ to pass arguments to the deploy script:

.. code-block:: yaml

aws-amazon:
provider: aws
ec2-amazon:
provider: ec2
image: ami-1624987f
size: Micro Instance
ssh_username: ec2-user
Expand Down
8 changes: 4 additions & 4 deletions doc/topics/cloud/profiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ Larger Example

.. code-block:: yaml

rhel_aws:
provider: aws
rhel_ec2:
provider: ec2
image: ami-e565ba8c
size: Micro Instance
script: RHEL6
minion:
cheese: edam

ubuntu_aws:
provider: aws
ubuntu_ec2:
provider: ec2
image: ami-7e2da54e
size: Micro Instance
script: Ubuntu
Expand Down
0