-default[:otrs][:version] = "4.0.29"
+default[:otrs][:version] = "5.0.27"
default[:otrs][:user] = "otrs"
default[:otrs][:group] = nil
default[:otrs][:database_cluster] = "9.5/main"
content config
end
-generic_agent = edit_file "/opt/otrs-#{version}/Kernel/Config/GenericAgent.pm.dist" do |line|
- line
-end
-
-file "/opt/otrs-#{version}/Kernel/Config/GenericAgent.pm" do
- owner user
- group "www-data"
- mode 0o664
- content generic_agent
-end
-
link "/opt/otrs-#{version}/Kernel/Config/Files/ZZZAuto.pm" do
to "#{old_installation}/Kernel/Config/Files/ZZZAuto.pm"
link_type :hard