]> git.openstreetmap.org Git - chef.git/commitdiff
Drop attempt to run otrs.RebuildConfig.pl
authorTom Hughes <tom@compton.nu>
Tue, 11 Feb 2020 00:35:06 +0000 (00:35 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 11 Feb 2020 00:35:06 +0000 (00:35 +0000)
cookbooks/otrs/recipes/default.rb

index b1a5a0107309c4c9dca97d51bd9c5ee5ec33c892..ec17e63b1ba980bcfdc347b6f5f16e549d466d55 100644 (file)
@@ -104,14 +104,6 @@ execute "/opt/otrs/bin/otrs.SetPermissions.pl" do
   only_if { File.stat("/opt/otrs/README.md").uid != Etc.getpwnam("otrs").uid }
 end
 
   only_if { File.stat("/opt/otrs/README.md").uid != Etc.getpwnam("otrs").uid }
 end
 
-execute "/opt/otrs/bin/otrs.RebuildConfig.pl" do
-  action :run
-  command "/opt/otrs/bin/otrs.RebuildConfig.pl"
-  user "root"
-  group "root"
-  not_if { ::File.exist?("/opt/otrs/Kernel/Config/Files/ZZZAAuto.pm") }
-end
-
 execute "/opt/otrs/bin/Cron.sh" do
   action :nothing
   command "/opt/otrs/bin/Cron.sh restart"
 execute "/opt/otrs/bin/Cron.sh" do
   action :nothing
   command "/opt/otrs/bin/Cron.sh restart"