Commit abe67ca8d64d73df31e3c8037c1f677b92412b89
1 parent
867b9cfa
Exists in
master
and in
39 other branches
Fixed colab class parameters. Now accepting hiera
Showing
3 changed files
with
7 additions
and
5 deletions
Show diff stats
puppet/hieradata/common.yaml
... | ... | @@ -11,7 +11,6 @@ nginx::worker_processes: 8 |
11 | 11 | nginx::error_log: '/var/log/nginx/error.log' |
12 | 12 | nginx::access_log: '/var/log/nginx/access.log' |
13 | 13 | |
14 | -#TODO: test | |
15 | 14 | colab::mailman_archive_path: '/mnt/mailman/archives/' |
16 | 15 | colab::mailman_exclude_lists: |
17 | 16 | - saberes-divulgacao |
... | ... | @@ -22,5 +21,3 @@ colab::hostnames: |
22 | 21 | - colab.interlegis.leg.br |
23 | 22 | - colab.interlegis.gov.br |
24 | 23 | colab::solr_project_path: '/home/colab/apache-solr-3.6.2/example' |
25 | - | |
26 | -# Remember to replace the id_rsa and id_rsa.pub on colab/files | ... | ... |
puppet/modules/colab/manifests/init.pp
puppet/modules/colab/templates/import_mailman_messages.erb
1 | -* * * * * colab /home/colab/.virtualenvs/colab/bin/python ~/colab/src/manage.py import_emails --archives_path=<%= scope['colab::mailman_path'] %> <% scope['colab::mailman_exclude_lists'].each do |exclude| %> --exclude-list=<%= exclude %> <% end %> &> /dev/null | |
1 | +* * * * * colab /home/colab/.virtualenvs/colab/bin/python ~/colab/src/manage.py import_emails --archives_path=<%= scope['colab::mailman_archive_path'] %> <% scope['colab::mailman_exclude_lists'].each do |exclude| %>--exclude-list=<%= exclude %> <% end %>&> /dev/null | ... | ... |