X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bf640328133e47a7c686b60cf73f63b3cd606b29..b7c12630cb9de017d76fe60ff296534d6d061399:/cookbooks/otrs/recipes/default.rb diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index 6910b29e4..1b3e5810b 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -63,12 +63,6 @@ template "/etc/dbconfig-common/otrs2.conf" do :database_cluster => database_cluster end -# Ensure the OTRS package in backports has a priority preference. -apt_preference "otrs2" do - pin "release o=Debian Backports" - pin_priority "600" -end - apt_package "otrs2" # Ensure debconf is repopulated on a dbconfig change @@ -98,11 +92,11 @@ systemd_service "otrs" do exec_start "/usr/share/otrs/bin/otrs.Daemon.pl start" private_tmp true protect_system "strict" - protect_home "read-only" + protect_home false runtime_directory "otrs" runtime_directory_mode 0o770 runtime_directory_preserve true - read_write_paths ["/var/lib/otrs", "/usr/share/otrs/var", "/run/otrs", "/var/log/exim4", "/var/spool/exim4"] + read_write_paths ["/var/lib/otrs", "/run/otrs", "/var/log/exim4", "/var/spool/exim4"] end service "otrs" do