Install and enable mod_kerb
diff --git a/apache/map.jinja b/apache/map.jinja
index 2f06421..da76487 100644
--- a/apache/map.jinja
+++ b/apache/map.jinja
@@ -7,6 +7,7 @@
'mod_php': 'libapache2-mod-php5',
'mod_perl': 'libapache2-mod-perl2',
'mod_xsendfile': 'libapache2-mod-xsendfile',
+ 'mod_kerb': 'libapache2-mod-auth-kerb',
'htpasswd_dir': '/etc/apache2',
'vhost_dir': '/etc/apache2/sites-available',
'conf_dir': '/etc/apache2/conf.d',
diff --git a/apache/server/service.sls b/apache/server/service.sls
index 44b7565..c977064 100644
--- a/apache/server/service.sls
+++ b/apache/server/service.sls
@@ -59,6 +59,16 @@
{%- endif %}
+{%- if module == 'kerb' %}
+
+apache_kerb_package:
+ pkg.installed:
+ - name: {{ server.mod_kerb }}
+ - require:
+ - pkg: apache_packages
+
+{%- endif %}
+
apache_{{ module }}_enable:
cmd.run:
- name: "a2enmod {{ module }}"