X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/39bf97849ebd067628b43a778856431a95e08bf1..a85b3b842096a7a10bb6f3a89daf238af1b852c6:/cookbooks/otrs/recipes/default.rb diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index 96258ae4b..ef4e9b388 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -36,6 +36,7 @@ package "libpdf-api2-perl" package "libsoap-lite-perl" package "libyaml-libyaml-perl" package "libcrypt-eksblowfish-perl" +package "libtemplate-perl" apache_module "headers" @@ -122,7 +123,7 @@ end 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 }