Skip to content
Snippets Groups Projects
Verified Commit 410b63b0 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

Remove support for Debian Jessie

parent 8425d32e
No related branches found
No related tags found
No related merge requests found
...@@ -9,25 +9,6 @@ ...@@ -9,25 +9,6 @@
- packages - packages
- rt - rt
- name: Have RT packages needed in Debian Jessie installed
apt: name={{item}} state=present
with_items:
- cpanminus
when: debian_version == 'jessie'
tags:
- packages
- rt
- name: Have RT additional Perl packages installed
cpanm: name={{item}} system_lib=yes
with_items:
- RT::Extension::LDAPImport
- RT::Authen::ExternalAuth
when: debian_version == 'jessie'
tags:
- rt
- packages
- name: Have RT config installed - name: Have RT config installed
template: src=RT_SiteConfig.pm.j2 dest=/etc/request-tracker4/RT_SiteConfig.pm owner=root group=www-data mode=0660 template: src=RT_SiteConfig.pm.j2 dest=/etc/request-tracker4/RT_SiteConfig.pm owner=root group=www-data mode=0660
tags: tags:
...@@ -94,7 +75,7 @@ ...@@ -94,7 +75,7 @@
cron: cron:
minute: 9 minute: 9
user: www-data user: www-data
job: /usr/local/share/request-tracker4/plugins/RT-Extension-LDAPImport/bin/rtldapimport --import >/dev/null job: /usr/sbin/rt-ldapimport --import >/dev/null
name: rtldapimport name: rtldapimport
tags: tags:
- rt - rt
......
...@@ -32,11 +32,6 @@ Set($LDAPMapping, {Name => 'sAMAccountName', # required ...@@ -32,11 +32,6 @@ Set($LDAPMapping, {Name => 'sAMAccountName', # required
WorkPhone => 'telephoneNumber', WorkPhone => 'telephoneNumber',
Organization => 'departmentName'}); Organization => 'departmentName'});
{% if debian_version == 'jessie' %}
# Add to any existing plugins
Set(@Plugins, qw(RT::Extension::LDAPImport));
{% endif %}
# If you want to sync Groups from LDAP into RT # If you want to sync Groups from LDAP into RT
Set($LDAPGroupBase, '{{rt_ldapbase}}'); Set($LDAPGroupBase, '{{rt_ldapbase}}');
...@@ -47,9 +42,6 @@ Set($LDAPGroupMapping, {Name => 'cn', ...@@ -47,9 +42,6 @@ Set($LDAPGroupMapping, {Name => 'cn',
Description => 'description'}); Description => 'description'});
### Login ### Login
{% if debian_version == 'jessie' %}
Plugin('RT::Authen::ExternalAuth');
{% endif %}
Set($ExternalAuthPriority, [ 'My_LDAP' ]); Set($ExternalAuthPriority, [ 'My_LDAP' ]);
Set($ExternalInfoPriority, [ 'My_LDAP' ]); Set($ExternalInfoPriority, [ 'My_LDAP' ]);
Set($AutoCreateNonExternalUsers, 1); Set($AutoCreateNonExternalUsers, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment