diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000299.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000299.html | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000299.html b/zarb-ml/mageia-sysadm/2010-November/000299.html new file mode 100644 index 000000000..b3effbf7e --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000299.html @@ -0,0 +1,137 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [177] Add puppet conf for transifex + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B177%5D%20Add%20puppet%20conf%20for%20transifex&In-Reply-To=%3C20101106111839.DA5CC3F8D0%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000298.html"> + <LINK REL="Next" HREF="000300.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [177] Add puppet conf for transifex</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B177%5D%20Add%20puppet%20conf%20for%20transifex&In-Reply-To=%3C20101106111839.DA5CC3F8D0%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [177] Add puppet conf for transifex">root at mageia.org + </A><BR> + <I>Sat Nov 6 12:18:39 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000298.html">[Mageia-sysadm] [176] - add a type for vhost redirection to ssl ( for epoll and catdap, once we have https ) +</A></li> + <LI>Next message: <A HREF="000300.html">[Mageia-sysadm] [178] include transifex +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#299">[ date ]</a> + <a href="thread.html#299">[ thread ]</a> + <a href="subject.html#299">[ subject ]</a> + <a href="author.html#299">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 177 +Author: dmorgan +Date: 2010-11-06 12:18:39 +0100 (Sat, 06 Nov 2010) +Log Message: +----------- +Add puppet conf for transifex + +Added Paths: +----------- + puppet/modules/transifex/ + puppet/modules/transifex/manifests/ + puppet/modules/transifex/manifests/init.pp + puppet/modules/transifex/templates/ + puppet/modules/transifex/templates/20-engines.conf + +Added: puppet/modules/transifex/manifests/init.pp +=================================================================== +--- puppet/modules/transifex/manifests/init.pp (rev 0) ++++ puppet/modules/transifex/manifests/init.pp 2010-11-06 11:18:39 UTC (rev 177) +@@ -0,0 +1,17 @@ ++class transifex { ++ package { 'transifex': ++ ensure => installed ++ } ++ package { 'postfix': ++ ensure => installed ++ } ++ ++ file { "check_new-blog-post": ++ path => "/etc/transifex/20-engines.conf", ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 755, ++ content => template("transifex/20-engines.conf") ++ } ++} + +Added: puppet/modules/transifex/templates/20-engines.conf +=================================================================== +--- puppet/modules/transifex/templates/20-engines.conf (rev 0) ++++ puppet/modules/transifex/templates/20-engines.conf 2010-11-06 11:18:39 UTC (rev 177) +@@ -0,0 +1,33 @@ ++### ENGINE CONFIGURATION ++# Database and caching ++ ++## Database configuration ++ ++# <A HREF="http://docs.djangoproject.com/en/dev/ref/settings/#database-engine">http://docs.djangoproject.com/en/dev/ref/settings/#database-engine</A> ++DATABASE_ENGINE = 'postgresql_psycopg2' ++# Use file path for sqlite3 ++DATABASE_NAME = 'transifex' ++# The following are not used for sqlite3 ++DATABASE_USER = 'transifex' ++DATABASE_PASSWORD = 'transifex' ++DATABASE_HOST = 'pgsql.mageia.org' # Set to empty string for local socket ++DATABASE_PORT = '' # Set to empty string for default ++ ++## Caching (optional) ++ ++CACHE_BACKEND = '<A HREF="locmem://">locmem://</A>' ++# For memcached: CACHE_BACKEND = '<A HREF="memcached://127.0.0.1:11211/">memcached://127.0.0.1:11211/</A>' ++# No caching: CACHE_BACKEND = '<A HREF="dummy://">dummy://</A>' ++ ++CACHE_MIDDLEWARE_SECONDS = 3600 ++CACHE_MIDDLEWARE_KEY_PREFIX = 'tx' ++CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True ++ ++# Note: Additional caching configuration takes place in 50-project.conf in the ++# MIDDLEWARE_CLASSES option. ++ ++# Database settings for unittests ++TEST_CHARSET = "utf8" ++TEST_COLLATION = "utf8_general_ci" ++TEST_DATABASE_CHARSET = TEST_CHARSET ++TEST_DATABASE_COLLATION = TEST_COLLATION +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101106/ca6f3397/attachment.html> +</PRE> + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000298.html">[Mageia-sysadm] [176] - add a type for vhost redirection to ssl ( for epoll and catdap, once we have https ) +</A></li> + <LI>Next message: <A HREF="000300.html">[Mageia-sysadm] [178] include transifex +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#299">[ date ]</a> + <a href="thread.html#299">[ thread ]</a> + <a href="subject.html#299">[ subject ]</a> + <a href="author.html#299">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |