Skip to content

Instantly share code, notes, and snippets.

@silenius
Last active November 6, 2017 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silenius/f2d96cca1e3891a12b5ab75190c459b7 to your computer and use it in GitHub Desktop.
Save silenius/f2d96cca1e3891a12b5ab75190c459b7 to your computer and use it in GitHub Desktop.
salt% pwd
/usr/local/etc/salt/pillar/webapps/bbpf
salt% cat init.sls
#!yaml|gpg
include:
- webapps
webapps:
items:
bbpf:
venv: bbpf
repo: bbpf
user: www-bbpf
postgresql:
db: bbpf
deploy:
port: 10613
static_dir: 'amnesia/static'
ini:
sections:
'app:amnesia':
'use': 'egg:amnesia'
pyramid.default_locale_name: en
pyramid.debug_all: false
pyramid.reload_all: false
timezone: Europe/Brussels
(...)
salt% cat dev.sls
#!yaml|gpg
include:
- webapps.bbpf
webapps:
items:
bbpf:
deploy:
prefix: /bbpf
proxy_prefix: /bbpf
env: development
postgresql:
role: dev_rw
db: amnesia_bbpf
ini:
sections:
'app:amnesia':
pyramid.debug_all: true
pyramid.reload_all: true
(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment