Created
August 2, 2016 04:30
-
-
Save zlanich/1d759994751b0d73714caa7434ee6dcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prod-profiles.conf | |
base: | |
provider: do | |
image: ubuntu-16-04-x64 | |
size: 512mb | |
location: nyc1 | |
private_networking: True | |
ipv6: True | |
backups_enabled: False | |
## | |
# Other Possible directives | |
## | |
# ssh_username: root | |
# create_dns_record: True | |
# minion: | |
# master: your_server_ip | |
web-wp-prod: | |
extends: base | |
minion: | |
grains: | |
role: webserver | |
env: production | |
cms: wordpress | |
web-wp-staging: | |
extends: base | |
minion: | |
grains: | |
role: webserver | |
env: staging | |
cms: wordpress | |
# environemnts.map | |
web-wp-prod: | |
- saltsinglesite.wecreate.com | |
web-wp-staging: | |
- staging | |
# top.sls (states) | |
base: | |
'*web*': | |
- common | |
- apache | |
- mysql | |
- php | |
- wordpress | |
# top.sls (pillars) | |
base: | |
'*web*': | |
- default | |
'saltsinglesite.wecreate.com': | |
- saltsinglesite_wecreate_com | |
# saltsinglesite.wecreate.com | |
sites: | |
- saltsinglesite.wecreate.com: | |
multisite: False | |
backups: True | |
- saltmultisite.wecreate.com: | |
multisite: True | |
backups: True | |
domains: | |
- sub.saltmultsite.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment