Commit 1018a6f235056b461f2ba942a19e003cc2597753
Exists in
master
and in
39 other branches
Merge branch 'master' into notrac
Showing
6 changed files
with
30 additions
and
4 deletions
Show diff stats
puppet/modules.txt
puppet/modules/colab/manifests/cronmailman.pp
puppet/modules/colab/manifests/init.pp
... | ... | @@ -19,6 +19,18 @@ class colab ( |
19 | 19 | include postgresql::globals |
20 | 20 | include postgresql::server |
21 | 21 | |
22 | + user { 'colab': | |
23 | + gid => 'colab', | |
24 | + groups => ['sudo', 'mailman'], | |
25 | + managehome => true, | |
26 | + } | |
27 | + | |
28 | + group { 'mailman': | |
29 | + ensure => present, | |
30 | + system => true, | |
31 | + before => User['colab'], | |
32 | + } | |
33 | + | |
22 | 34 | postgresql::server::db { 'colab': |
23 | 35 | user => 'colab', |
24 | 36 | password => 'colab', |
... | ... | @@ -67,4 +79,10 @@ class colab ( |
67 | 79 | directory => $colab::solr_project_path, |
68 | 80 | user => 'colab', |
69 | 81 | } |
82 | + | |
83 | + supervisor::app { 'mailmanapi': | |
84 | + command => '/home/colab/.virtualenvs/colab/bin/mailman-api.py -b 127.0.0.1:9000', | |
85 | + directory => '/home/colab/', | |
86 | + user => 'colab', | |
87 | + } | |
70 | 88 | } | ... | ... |
requirements.txt
1 | -Django>=1.6.1,<1.7 | |
1 | +Django>=1.6.7,<1.7 | |
2 | 2 | South==0.8.1 |
3 | 3 | psycopg2==2.5.1 |
4 | 4 | django-piston==0.2.3 |
... | ... | @@ -53,3 +53,6 @@ diazo==1.0.5 |
53 | 53 | # Dpaste |
54 | 54 | # TODO: Pull-request to mainstream repository |
55 | 55 | git+https://github.com/interlegis/dpaste |
56 | + | |
57 | +# Mailman 2 REST API | |
58 | +mailman-api==0.2.1 | ... | ... |
src/colab/custom_settings.py
src/super_archives/models.py