include_recipe "accounts"
include_recipe "apache"
+include_recipe "exim"
include_recipe "postgresql"
include_recipe "tools"
package "libapache2-reload-perl"
package %w[
+ tar
+ bzip2
libcrypt-eksblowfish-perl
libdatetime-perl
libgd-gd2-perl
libgd-text-perl
libjson-xs-perl
libmail-imapclient-perl
+ libmoo-perl
libnet-ldap-perl
libpdf-api2-perl
libsoap-lite-perl
group "otrs"
exec_start "/opt/otrs/bin/otrs.Daemon.pl start"
private_tmp true
- private_devices true
- protect_system "full"
+ protect_system "strict"
protect_home true
- no_new_privileges true
+ read_write_paths ["/opt/otrs-#{version}/var", "/var/log/exim4", "/var/spool/exim4"]
end
service "otrs" do