23fd8b64af
This will fix #39 And it will be backwards compatible with the current pillar configuration.
144 lines
3.3 KiB
Plaintext
144 lines
3.3 KiB
Plaintext
salt:
|
|
|
|
# to overwrite map.jinja salt packages
|
|
lookup:
|
|
salt-master: 'salt-master'
|
|
salt-minion: 'salt-minion'
|
|
salt-syndic: 'salt-syndic'
|
|
salt-cloud: 'salt-cloud'
|
|
salt-ssh: 'salt-ssh'
|
|
|
|
# salt master config
|
|
master:
|
|
fileserver_backend:
|
|
- git
|
|
- roots
|
|
gitfs_remotes:
|
|
- git://github.com/saltstack-formulas/salt-formula.git:
|
|
- base: develop
|
|
file_roots:
|
|
base:
|
|
- /srv/salt
|
|
|
|
# for salt-api with tornado rest interface
|
|
rest_tornado:
|
|
port: 8000
|
|
ssl_crt: /etc/pki/api/certs/server.crt
|
|
ssl_key: /etc/pki/api/certs/server.key
|
|
debug: False
|
|
disable_ssl: False
|
|
|
|
# salt minion config:
|
|
minion:
|
|
|
|
# single master setup
|
|
master: salt
|
|
|
|
# multi master setup
|
|
master:
|
|
- salt_master_1
|
|
- salt_master_2
|
|
|
|
fileserver_backend:
|
|
- git
|
|
- roots
|
|
gitfs_remotes:
|
|
- git://github.com/saltstack-formulas/salt-formula.git:
|
|
- base: develop
|
|
file_roots:
|
|
base:
|
|
- /srv/salt
|
|
module_config:
|
|
test: True
|
|
test.foo: foo
|
|
test.bar:
|
|
- baz
|
|
- quo
|
|
test.baz:
|
|
spam: sausage
|
|
cheese: bread
|
|
|
|
# salt cloud config
|
|
cloud:
|
|
master: salt
|
|
folders:
|
|
- cloud.providers.d/key
|
|
- cloud.profiles.d
|
|
- cloud.maps.d
|
|
providers:
|
|
- ec2
|
|
- gce
|
|
aws_key: AWSKEYIJSHJAIJS6JSH
|
|
aws_secret: AWSSECRETYkkDY1iQf9zRtl9+pW+Nm+aZY95
|
|
gce_project: test
|
|
gce_service_account_email_address: 867543072364-orl4h2tpp8jcn1tr9ipj@developer.gserviceaccount.com
|
|
rsos_user: afeawofghob
|
|
rsos_tenant: tenant_id_number
|
|
rsos_apikey: WFJIOJEOIGHSOFHESO
|
|
rsos_regions:
|
|
- ORD
|
|
- DFW
|
|
- IAD
|
|
- SYD
|
|
- HKG
|
|
reactor:
|
|
- 'deploy':
|
|
- /srv/salt/reactors/deploy.sls
|
|
ssh_roster:
|
|
prod1:
|
|
host: host.example.com
|
|
user: ubuntu
|
|
sudo: True
|
|
priv: /etc/salt/ssh_keys/sshkey.pem
|
|
|
|
salt_cloud_certs:
|
|
aws:
|
|
pem: |
|
|
-----BEGIN RSA PRIVATE KEY-----
|
|
...........
|
|
-----END RSA PRIVATE KEY-----
|
|
|
|
gce:
|
|
pem: |
|
|
-----BEGIN RSA PRIVATE KEY-----
|
|
...........
|
|
-----END RSA PRIVATE KEY-----
|
|
|
|
salt_formulas:
|
|
git_opts:
|
|
# The Git options can be customized differently for each
|
|
# environment, if an option is missing in a given environment, the
|
|
# value from "default" is used instead.
|
|
default:
|
|
# URL where the formulas git repositories are downloaded from
|
|
# it will be suffixed with <formula-name>.git
|
|
baseurl: https://github.com/saltstack-formulas
|
|
# Directory where Git repositories are downloaded
|
|
basedir: /srv/formulas
|
|
# Update the git repository to the latest version (False by default)
|
|
update: False
|
|
# Options passed directly to the git.latest state
|
|
options:
|
|
rev: master
|
|
dev:
|
|
basedir: /srv/formulas/dev
|
|
update: True
|
|
options:
|
|
rev: develop
|
|
# Options of the file.directory state that creates the directory where
|
|
# the git repositories of the formulas are stored
|
|
basedir_opts:
|
|
makedirs: True
|
|
user: root
|
|
group: root
|
|
mode: 755
|
|
# List of formulas to enable in each environment
|
|
list:
|
|
base:
|
|
- salt-formula
|
|
- postfix-formula
|
|
dev:
|
|
- salt-formula
|
|
- postfix-formula
|
|
- openssh-formula
|