diff options
author | James Cammarata <jimi@sngx.net> | 2013-06-23 21:40:07 +0200 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2013-06-23 21:40:07 +0200 |
commit | c2a0004c6cc264dbfdb17808193a1c8c6ec7997c (patch) | |
tree | 8f98e6b6274fa14a2044d993e2f79e079029f675 /config/rpm/settings.py | |
parent | Rename ansibleworks to awx. (diff) | |
download | awx-c2a0004c6cc264dbfdb17808193a1c8c6ec7997c.tar.xz awx-c2a0004c6cc264dbfdb17808193a1c8c6ec7997c.zip |
Initial work for packaging .deb
Diffstat (limited to 'config/rpm/settings.py')
-rw-r--r-- | config/rpm/settings.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/config/rpm/settings.py b/config/rpm/settings.py new file mode 100644 index 0000000000..1ecde70c37 --- /dev/null +++ b/config/rpm/settings.py @@ -0,0 +1,41 @@ +ADMINS = ( + #('Joe Admin', 'joeadmin@example.com'), +) + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'awx', + 'USER': 'awx', + 'PASSWORD': 'AWsecret', + 'HOST': '', + 'PORT': '', + } +} + +STATIC_ROOT = '/var/lib/awx/public/static' + +PROJECTS_ROOT = '/var/lib/awx/projects' + +SECRET_KEY = file('/etc/awx/SECRET_KEY', 'rb').read().strip() + +ALLOWED_HOSTS = ['*'] + +LOGGING['handlers']['syslog'] = { + 'level': 'ERROR', + 'filters': ['require_debug_false'], + 'class': 'logging.handlers.SysLogHandler', + 'address': '/dev/log', + 'facility': 'local0', + 'formatter': 'simple', +} + +SERVER_EMAIL = 'root@localhost' +DEFAULT_FROM_EMAIL = 'webmaster@localhost' +EMAIL_SUBJECT_PREFIX = '[AnsibleWorks] ' + +EMAIL_HOST = 'localhost' +EMAIL_PORT = 25 +EMAIL_HOST_USER = '' +EMAIL_HOST_PASSWORD = '' +EMAIL_USE_TLS = False |