/[adm]/puppet/modules/transifex/templates/20-engines.conf
ViewVC logotype

Contents of /puppet/modules/transifex/templates/20-engines.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 340 - (show annotations) (download)
Sat Nov 20 11:52:54 2010 UTC (12 years, 10 months ago) by misc
File size: 1043 byte(s)
- do not let file with passwords to be world readable 
    ( even if being readable by apache is not good either, but needed as the password is used by apache )
- use ldaps for sympa
- use the 2 new facter macro and remove the version copied everywhere
- remove hardcoded domain in bugzilla and others

1 ### ENGINE CONFIGURATION
2 # Database and caching
3
4 ## Database configuration
5
6 # http://docs.djangoproject.com/en/dev/ref/settings/#database-engine
7 DATABASE_ENGINE = 'postgresql_psycopg2'
8 # Use file path for sqlite3
9 DATABASE_NAME = 'transifex'
10 # The following are not used for sqlite3
11 DATABASE_USER = 'transifex'
12 DATABASE_PASSWORD = '<%= password %>'
13 DATABASE_HOST = 'pgsql.<%= domain %>' # Set to empty string for local socket
14 DATABASE_PORT = '' # Set to empty string for default
15
16 ## Caching (optional)
17
18 CACHE_BACKEND = 'locmem://'
19 # For memcached: CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
20 # No caching: CACHE_BACKEND = 'dummy://'
21
22 CACHE_MIDDLEWARE_SECONDS = 3600
23 CACHE_MIDDLEWARE_KEY_PREFIX = 'tx'
24 CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True
25
26 # Note: Additional caching configuration takes place in 50-project.conf in the
27 # MIDDLEWARE_CLASSES option.
28
29 # Database settings for unittests
30 TEST_CHARSET = "utf8"
31 TEST_COLLATION = "utf8_general_ci"
32 TEST_DATABASE_CHARSET = TEST_CHARSET
33 TEST_DATABASE_COLLATION = TEST_COLLATION

  ViewVC Help
Powered by ViewVC 1.1.28