salt/doc/topics/config.rst

92 lines
2.3 KiB
ReStructuredText
Raw Normal View History

2012-07-13 07:26:16 +00:00
==================
Core Configuration
==================
A number of core configuration options and some options that are global to
the vm profiles can be set in the cloud config file. By default this file is
2012-07-14 12:38:51 +00:00
located at ``/etc/salt/cloud``.
2012-07-13 07:26:16 +00:00
Minion Configuration
====================
The default minion configuration is set up in this file. This is where the
minions that are created derive their configuration.
.. code-block:: yaml
minion:
master: saltmaster.example.com
This is the location in particular to specify the location of the salt master.
Cloud Configurations
====================
The data specific to interacting with public clouds is set up here.
Rackspace
---------
Rackspace cloud requires two configuration options:
.. code-block:: yaml
RACKSPACE.user: example_user
RACKSPACE.key: 123984bjjas87034
Amazon AWS
----------
A number of configuration options are required for Amazon EC2:
.. code-block:: yaml
EC2.id: HJGRYCILJLKJYG
EC2.key: 'kdjgfsgm;woormgl/aserigjksjdhasdfgn'
EC2.keyname: test
EC2.securitygroup: quick-start
EC2.private_key: /root/test.pem
Linode
------
Linode requires a single api key, but the default root password also needs
to be set:
.. code-block:: yaml
LINODE.apikey: asldkgfakl;sdfjsjaslfjaklsdjf;askldjfaaklsjdfhasldsadfghdkf
LINODE.password: F00barbaz
The password needs to be 8 characters and contain lowercase, uppercase and
numbers.
2012-08-01 15:25:26 +00:00
Joyent Cloud
------------
The Joyent cloud requires three configuration paramaters. The user name and
password that are used to log into the Joyent system, and the location of
the private ssh key associated with the Joyent account. The ssh key is needed
to send the provisioning commands up to the freshly created virtual machine,
.. code-block:: yaml
JOYENT.user: fred
JOYENT.password: saltybacon
JOYENT.private_key: /root/joyent.pem
GoGrid
------
To use Salt Cloud with GoGrid log into the GoGrid web interface and
create an api key. Do this by clicking on "My Account" and then going to the
API Keys tab.
The GOGRID.apikey and the GOGRID.sharedsecret configuration paramaters need to
be set in the config file to enable interfacing with GoGrid:
.. code-block:: yaml
GOGRID.apikey: asdff7896asdh789
GOGRID.sharedsecret: saltybacon