From b1ac07edb1838b920be6ed98aadec049ee79a538 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 12 Jun 2018 19:12:52 +0100 Subject: [PATCH] Update OTRS to 6.0.8 --- cookbooks/otrs/attributes/default.rb | 2 +- cookbooks/otrs/recipes/default.rb | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/cookbooks/otrs/attributes/default.rb b/cookbooks/otrs/attributes/default.rb index 2ca23b364..fff2dc008 100644 --- a/cookbooks/otrs/attributes/default.rb +++ b/cookbooks/otrs/attributes/default.rb @@ -1,4 +1,4 @@ -default[:otrs][:version] = "5.0.27" +default[:otrs][:version] = "6.0.8" default[:otrs][:user] = "otrs" default[:otrs][:group] = nil default[:otrs][:database_cluster] = "9.5/main" diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index 77ac3912d..c71c920c6 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -48,12 +48,6 @@ database_user = node[:otrs][:database_user] database_password = passwords[node[:otrs][:database_password]] site = node[:otrs][:site] -old_installation = begin - File.readlink("/opt/otrs") - rescue StandardError - nil - end - postgresql_user database_user do cluster database_cluster password database_password @@ -96,16 +90,6 @@ file "/opt/otrs-#{version}/Kernel/Config.pm" do content config end -link "/opt/otrs-#{version}/Kernel/Config/Files/ZZZAuto.pm" do - to "#{old_installation}/Kernel/Config/Files/ZZZAuto.pm" - link_type :hard -end - -link "/opt/otrs-#{version}/var/log/TicketCounter.log" do - to "#{old_installation}/var/log/TicketCounter.log" - link_type :hard -end - link "/opt/otrs" do to "/opt/otrs-#{version}" end -- 2.43.2