From 50558575e2e33b36dfb825fa222f32ad3b3a4306 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Thu, 18 Nov 2010 23:20:22 +0000 Subject: Add 30-site.conf ( WIP ) --- modules/transifex/manifests/init.pp | 9 +++++++++ modules/transifex/templates/30-site.conf | 26 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 modules/transifex/templates/30-site.conf 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 -- cgit v1.2.1