1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [628] - add templating extraction logic to 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%5B628%5D%20-%20add%20templating%20extraction%20logic%20to%20transifex&In-Reply-To=%3C20101215125634.DAE83402E6%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="001237.html">
<LINK REL="Next" HREF="001239.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [628] - add templating extraction logic to transifex</H1>
<B>root at mageia.org</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B628%5D%20-%20add%20templating%20extraction%20logic%20to%20transifex&In-Reply-To=%3C20101215125634.DAE83402E6%40valstar.mageia.org%3E"
TITLE="[Mageia-sysadm] [628] - add templating extraction logic to transifex">root at mageia.org
</A><BR>
<I>Wed Dec 15 13:56:34 CET 2010</I>
<P><UL>
<LI>Previous message: <A HREF="001237.html">[Mageia-sysadm] [627] add configfile for template related stuff
</A></li>
<LI>Next message: <A HREF="001239.html">[Mageia-sysadm] Puppet Report for alamut.mageia.org
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1238">[ date ]</a>
<a href="thread.html#1238">[ thread ]</a>
<a href="subject.html#1238">[ subject ]</a>
<a href="author.html#1238">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Revision: 628
Author: misc
Date: 2010-12-15 13:56:34 +0100 (Wed, 15 Dec 2010)
Log Message:
-----------
- add templating extraction logic to transifex
Modified Paths:
--------------
puppet/modules/transifex/manifests/init.pp
puppet/modules/transifex/templates/50-project.conf
Modified: puppet/modules/transifex/manifests/init.pp
===================================================================
--- puppet/modules/transifex/manifests/init.pp 2010-12-15 12:56:33 UTC (rev 627)
+++ puppet/modules/transifex/manifests/init.pp 2010-12-15 12:56:34 UTC (rev 628)
@@ -7,6 +7,8 @@
$pgsql_password = extlookup("transifex_pgsql",'x')
$ldap_password = extlookup("transifex_ldap",'x')
+ $templates_dir = "/var/lib/transifex/templates"
+
@@postgresql::user { 'transifex':
password => $pgsql_password,
}
@@ -72,6 +74,10 @@
notify => Service['apache']
}
+ svn::snapshot { $templates_dir:
+ source => "<A HREF="svn://svn.mageia.org/svn/web/templates/transifex/trunk">svn://svn.mageia.org/svn/web/templates/transifex/trunk</A>"
+ }
+
apache::vhost_django_app { "transifex.$domain":
module => "transifex",
use_ssl => true,
Modified: puppet/modules/transifex/templates/50-project.conf
===================================================================
--- puppet/modules/transifex/templates/50-project.conf 2010-12-15 12:56:33 UTC (rev 627)
+++ puppet/modules/transifex/templates/50-project.conf 2010-12-15 12:56:34 UTC (rev 628)
@@ -39,6 +39,7 @@
ROOT_URLCONF = 'urls'
TEMPLATE_DIRS = [
+ '<%= templates_dir %>',
os.path.join(TX_ROOT, 'templates'),
]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101215/13102201/attachment.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001237.html">[Mageia-sysadm] [627] add configfile for template related stuff
</A></li>
<LI>Next message: <A HREF="001239.html">[Mageia-sysadm] Puppet Report for alamut.mageia.org
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1238">[ date ]</a>
<a href="thread.html#1238">[ thread ]</a>
<a href="subject.html#1238">[ subject ]</a>
<a href="author.html#1238">[ 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>
|