Last active
December 23, 2015 11:19
-
-
Save micahhausler/6627970 to your computer and use it in GitHub Desktop.
salt django-pillar idea
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
# yaml | |
project: | |
# virtual env path | |
env: /path/to/venv/bin | |
# absolute path to django settings | |
settings_path: /path/to/settings | |
# django version | |
version: '1.5.3' | |
project: | |
name: my_application | |
# django_app_name | |
clients: | |
# Django model name | |
client: | |
# model field to use as a name in the rendered pillar | |
name: shortname | |
#list of field names | |
fields: | |
- tasty_pie_api_key | |
- tasty_pie_username |
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
my_application: | |
clients: | |
client_1: | |
tasty_pie_api_key: 317494917369164712917431 | |
tasty_pie_username: client_1_apiuser | |
client_2: | |
tasty_pie_api_key: 314073719734197973297222 | |
tasty_pie_username: client_2_apiuser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment