-
Notifications
You must be signed in to change notification settings - Fork 26
/
pillar.example
55 lines (51 loc) · 1.36 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
django:
lookup:
pkg: python-django
pip: Django
# Django Application Deployment
django_apps:
poll-single:
venv: /var/www/poll
proj: /var/www/poll/django-tutorial
settings: poll.settings
ROOT_URLCONF: poll.urls
SECRET_KEY: 'gith!)on!_dq0=2l(otd67%#0urmrk6_d0!zu)i9fn=!8_g5(c'
DATABASES:
default:
ENGINE: django.db.backends.mysql
NAME: polldb
USER: polluser
PASSWORD: pollpass
HOST: localhost
PORT: 3306
TEMPLATE_DIRS:
- /var/www/poll/django-tutorial/templates
STATICFILES_DIRS:
- /var/www/poll/django-tutorial/static
STATIC_ROOT: /var/www/poll/django-tutorial/staticroot
poll-multi:
minion_roles:
database: django-db
webhosts:
- django-web1
- django-web2
venv: /var/www/poll
proj: /var/www/poll/django-tutorial
settings: poll.settings
ROOT_URLCONF: poll.urls
SECRET_KEY: 'gith!)on!_dq0=2l(otd67%#0urmrk6_d0!zu)i9fn=!8_g5(c'
DATABASES:
default:
ENGINE: django.db.backends.mysql
NAME: polldb
USER: polluser
PASSWORD: pollpass
PORT: 3306
TEMPLATE_DIRS:
- /var/www/poll/django-tutorial/templates
STATICFILES_DIRS:
- /var/www/poll/django-tutorial/static
STATIC_ROOT: /var/www/poll/django-tutorial/staticroot