postactivate 1.72 KB
Newer Older
Guba Sándor committed
1 2 3 4 5
# DO NOT EDIT THIS FILE
export AMQP_URI='amqp://{{ pillar['amqp']['user'] }}:{{ pillar['amqp']['password'] }}@{{ pillar['amqp']['host'] }}:{{ pillar['amqp']['port'] }}/{{ pillar['amqp']['vhost'] }}'
export CACHE_URI='{{ pillar['cache'] }}'

export DJANGO_SETTINGS_MODULE='circle.settings.{{ pillar['deployment_type'] }}'
Bach Dániel committed
6
export DJANGO_TIME_ZONE=UTC
Guba Sándor committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20
export DJANGO_DB_HOST='localhost'
export DJANGO_DB_PASSWORD='{{ pillar['database']['password'] }}'
export DJANGO_FIREWALL_SETTINGS='{"dns_ip": "8.8.8.8", "dns_hostname":
            "localhost", "dns_ttl": "300", "reload_sleep": "10",
                        "rdns_ip": "8.8.8.8", "default_vlangroup": "portforward"}'
export DJANGO_ALLOWED_HOSTS='*'
export DJANGO_MEMCACHED='localhost:11211'

#export DJANGO_SAML=TRUE
#export DJANGO_URL='<%= @django_url %>'
#export DJANGO_SAML_ATTRIBUTE_MAPPING='{"mail": ["email"], "sn": ["last_name"], "eduPersonPrincipalName": ["username"], "givenName": ["first_name"]}'
#export DJANGO_SAML_GROUP_OWNER_ATTRIBUTES='eduPersonScopedAffiliation'
#export DJANGO_SAML_GROUP_ATTRIBUTES='eduPersonScopedAffiliation'

21 22
export GRAPHITE_HOST='localhost'
export GRAPHITE_PORT='8081'
Guba Sándor committed
23
export GRAPHITE_HOST='{{ pillar['graphite']['host'] }}'
24
export GRAPHITE_AMQP_PORT='{{ pillar['graphite']['port'] }}'
Guba Sándor committed
25 26 27 28
export GRAPHITE_AMQP_USER='{{ pillar['graphite']['user'] }}'
export GRAPHITE_AMQP_PASSWORD='{{ pillar['graphite']['password'] }}'
export GRAPHITE_AMQP_QUEUE='{{ pillar['graphite']['queue'] }}'
export GRAPHITE_AMQP_VHOST='{{ pillar['graphite']['vhost'] }}'
29
export SECRET_KEY='{{ pillar['secret_key'] }}'
Guba Sándor committed
30 31 32 33 34 35 36

export PROXY_SECRET='{{ pillar['proxy_secret'] }}'

export DEFAULT_FROM_EMAIL='root@localhost'

#LOCAL="/home//.virtualenvs/circle/bin/postactivate.local"
#test -f "$LOCAL" && . "$LOCAL"