-default[:otrs][:version] = "3.3.20"
+default[:otrs][:version] = "4.0.29"
default[:otrs][:user] = "otrs"
default[:otrs][:group] = nil
default[:otrs][:database_cluster] = "9.5/main"
package "libsoap-lite-perl"
package "libyaml-libyaml-perl"
package "libcrypt-eksblowfish-perl"
+package "libtemplate-perl"
apache_module "headers"
execute "/opt/otrs/bin/otrs.SetPermissions.pl" do
action :run
- command "/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=#{user} --web-user=www-data --otrs-group=www-data --web-group=www-data /opt/otrs-#{version}"
+ command "/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=#{user} --web-group=www-data /opt/otrs-#{version}"
user "root"
group "root"
only_if { File.stat("/opt/otrs/README.md").uid != Etc.getpwnam("otrs").uid }