aboutsummaryrefslogtreecommitdiffstats
path: root/modules/transifex/manifests/init.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-12-15 12:56:34 +0000
committerMichael Scherer <misc@mageia.org>2010-12-15 12:56:34 +0000
commitef601ae468224114a149e0490f3589e3ecd11cda (patch)
tree1e12e7890c58b3de650903529cbd8d3d0ff4c3e4 /modules/transifex/manifests/init.pp
parentc5aa7b184ddf38c29687d8bf1b6e9d71423f209a (diff)
downloadpuppet-ef601ae468224114a149e0490f3589e3ecd11cda.tar
puppet-ef601ae468224114a149e0490f3589e3ecd11cda.tar.gz
puppet-ef601ae468224114a149e0490f3589e3ecd11cda.tar.bz2
puppet-ef601ae468224114a149e0490f3589e3ecd11cda.tar.xz
puppet-ef601ae468224114a149e0490f3589e3ecd11cda.zip
- add templating extraction logic to transifex
Diffstat (limited to 'modules/transifex/manifests/init.pp')
-rw-r--r--modules/transifex/manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/transifex/manifests/init.pp b/modules/transifex/manifests/init.pp
index 575872f8..4f186c03 100644
--- a/modules/transifex/manifests/init.pp
+++ b/modules/transifex/manifests/init.pp
@@ -7,6 +7,8 @@ class transifex {
$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 @@ class transifex {
notify => Service['apache']
}
+ svn::snapshot { $templates_dir:
+ source => "svn://svn.mageia.org/svn/web/templates/transifex/trunk"
+ }
+
apache::vhost_django_app { "transifex.$domain":
module => "transifex",
use_ssl => true,