[Mageia-sysadm] [295] Add 30-site.conf ( WIP )

root at mageia.org root at mageia.org
Fri Nov 19 00:20:22 CET 2010


Revision: 295
Author:   dmorgan
Date:     2010-11-19 00:20:22 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
Add 30-site.conf ( WIP )

Modified Paths:
--------------
    puppet/modules/transifex/manifests/init.pp

Added Paths:
-----------
    puppet/modules/transifex/templates/30-site.conf

Modified: puppet/modules/transifex/manifests/init.pp
===================================================================
--- puppet/modules/transifex/manifests/init.pp	2010-11-18 22:34:59 UTC (rev 294)
+++ puppet/modules/transifex/manifests/init.pp	2010-11-18 23:20:22 UTC (rev 295)
@@ -13,6 +13,15 @@
     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" 
 #  }  

Added: puppet/modules/transifex/templates/30-site.conf
===================================================================
--- puppet/modules/transifex/templates/30-site.conf	                        (rev 0)
+++ puppet/modules/transifex/templates/30-site.conf	2010-11-18 23:20:22 UTC (rev 295)
@@ -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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101119/90fcb09b/attachment.html>


More information about the Mageia-sysadm mailing list