Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Remove salt specific README
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmb committed Apr 24, 2015
1 parent 6bfd7a4 commit 63f06f3
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions README.rst
Expand Up @@ -53,11 +53,6 @@ If your ``$CWD`` is anywhere else, you need to pass in a path to particular fabr
- **environment:dev** - The ``dev`` section will be read from the projects YAML file (line 1 in the example below)
- **config:/path/to/file.yaml** - The location to the project YAML file

If you also want to bootstrap the salt master and minions, you can do this::

fab application:courtfinder aws:prod environment:dev config:/path/to/courtfinder-dev.yaml cfn_create install_master install_minions


Example Configuration
======================
AWS Account Configuration
Expand Down Expand Up @@ -87,30 +82,6 @@ Project specific YAML file
+++++++++++++++++++++++++++
The `YAML file <https://github.com/ministryofjustice/bootstrap-cfn/blob/master/docs/sample-project.yaml>`_ highlights what is possible with all the bootstrap-cfn features available to date. The minimum requirement is that it must contain an *ec2* block, you **do not** have to use RDS, S3 or ELB's.



Salt specific configuration
++++++++++++++++++++++++++++

In order to rsync your salt states to the salt master you need to add a `salt` section to the top level of your project's YAML file. The following parameters specify the rsync sources and targets:

- **local_salt_dir**: Directory containing all the files you want to have in your salt root (for example top.sls or project specific states).
**Default value**: ./salt
- **local_pillar_dir**: Directory containing all the files you want to have in your pillar root.
**Default value**: ./pillar
- **local_vendor_dir**: Directory containing formulas cloned by salt-shaker.
**Default value**: ./vendor
- **remote_state_dir**: Salt root on the master.
**Default value**: /srv/salt
- **remote_pillar_dir**: Pillar root on the master.
**Default value**: /srv/pillar

The cloudformation yaml will be automatically uploaded to your pillar as cloudformation.sls. So if you include ``-cloudformation`` in your pillar top file you can do things like:

::

salt-call pillar.get s3:static-bucket-name

ELBs
++++++++++++++++++++
By default the ELBs will have a security group opening them to the world on 80 and 443. You can replace this default SG with your own (see example ``ELBSecGroup`` above).
Expand Down

0 comments on commit 63f06f3

Please sign in to comment.