⚠️ Deprecated
Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cli
etc/salt
map/templates/standard
.gitignore
CHANGELOG.md
LICENSE
README.md

README.md

Using Salt Cloud

These instructions assume that you have already configured a Salt Master node in your cloud environment.

Installation

Salt-cloud is installed with SaltStack. Please refer to the Salt Cloud installation instructions.

Configuration

Copy etc/salt to /etc/salt of the Salt Master.

Edit /etc/salt/cloud.providers.d/cloud_provider.conf and set the variables that the template requires.

You should now be able to list providers:

$ sudo salt-cloud --list-providers
[INFO    ] salt-cloud starting
mycloud:
    ----------
    openstack:
        ----------

Launch one instance

You can now launch one instance named test with the profile named ubuntu.

$ sudo salt-cloud -p ubuntu test

Using map files

On the Salt Master -

Creating the instances

$ sudo salt-cloud -m map/demo.map -P

Deleting the instances

$ sudo salt-cloud -m map/demo.map -d