]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/otrs/recipes/default.rb
Add support for installing functions to a rendering database
[chef.git] / cookbooks / otrs / recipes / default.rb
index 6910b29e45d6599c6bdb834838cfca34ae9c2b6c..1b3e5810b5fd829cd0bb3e67d7000717ec6281a2 100644 (file)
@@ -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