library/roles/redmine/templates/redmine-ldap-sync.cron.j2: the cron frequency is now a variable

d4science-ghn-cluster/inventory/hosts.egi: separate inventory file for the EGI images
This commit is contained in:
Andrea Dell'Amico 2015-10-01 13:17:24 +02:00
parent fc8d216470
commit f51ffe7740
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ redmine_db_host: localhost
redmine_inst_dir: redmine
redmine_user: redmine
redmine_group: redmine
# Minutes, from 1 to 60
redmine_ldap_sync_freq: 10
redmine_glob_user: www-data
redmine_glob_group: www-data

View File

@ -1 +1 @@
*/30 * * * * {{ redmine_user }} rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent redmine:plugins:ldap_sync:sync_users RAILS_ENV=production >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-ldap-sync.log 2>&1
*/{{ redmine_ldap_sync_freq }} * * * * {{ redmine_user }} rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent redmine:plugins:ldap_sync:sync_users RAILS_ENV=production >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-ldap-sync.log 2>&1