diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2010-11-18 23:20:22 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2010-11-18 23:20:22 +0000 |
commit | 50558575e2e33b36dfb825fa222f32ad3b3a4306 (patch) | |
tree | 50a8c2383c4ff25604762b8ef6980cd2024604f6 /modules/transifex | |
parent | a430df05b73da1ce05004b1620cc48a9c36e8fc4 (diff) | |
download | puppet-50558575e2e33b36dfb825fa222f32ad3b3a4306.tar puppet-50558575e2e33b36dfb825fa222f32ad3b3a4306.tar.gz puppet-50558575e2e33b36dfb825fa222f32ad3b3a4306.tar.bz2 puppet-50558575e2e33b36dfb825fa222f32ad3b3a4306.tar.xz puppet-50558575e2e33b36dfb825fa222f32ad3b3a4306.zip |
Add 30-site.conf ( WIP )
Diffstat (limited to 'modules/transifex')
-rw-r--r-- | modules/transifex/manifests/init.pp | 9 | ||||
-rw-r--r-- | modules/transifex/templates/30-site.conf | 26 |
2 files changed, 35 insertions, 0 deletions
diff --git a/modules/transifex/manifests/init.pp b/modules/transifex/manifests/init.pp index a7bb7abe..73322e9d 100644 --- a/modules/transifex/manifests/init.pp +++ b/modules/transifex/manifests/init.pp @@ -13,6 +13,15 @@ class transifex { content => template("transifex/20-engines.conf") } + file { "30-site.conf": + path => "/etc/transifex/30-site.conf", + ensure => present, + owner => root, + group => root, + mode => 755, + content => template("transifex/30-site.conf") + } + # apache::vhost_django_app { "transifex.$domain": # module => "transifex" # } diff --git a/modules/transifex/templates/30-site.conf b/modules/transifex/templates/30-site.conf new file mode 100644 index 00000000..826662bc --- /dev/null +++ b/modules/transifex/templates/30-site.conf @@ -0,0 +1,26 @@ +# Sites +SITE_ID = 1 +# Your site's domain. This is used only in this file. +SITE_DOMAIN = '' + +ADMINS = ( + # ('Your Name', 'your_email@domain.com'), +) + +MANAGERS = ADMINS + +DEBUG = True +TEMPLATE_DEBUG = DEBUG +SERVE_MEDIA = DEBUG + +# This defines who can see {% if debug %}{% endif %} blocks +INTERNAL_IPS=('127.0.0.1',) + +# Email sending +EMAIL_HOST = 'localhost' +EMAIL_HOST_USER = '' +EMAIL_HOST_PASSWORD = '' +SITE_DOMAIN = 'mageia.org' +EMAIL_USE_TLS = True +EMAIL_PORT = 587 +DEFAULT_FROM_EMAIL = 'noreply@%s' % SITE_DOMAIN |