X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e7be1b3d379bdb1ee55de0d68f7946ed9f63fc62..a19f9c4c8ce5cbc8b5b73d2d33de98bae686176b:/cookbooks/otrs/recipes/default.rb diff --git a/cookbooks/otrs/recipes/default.rb b/cookbooks/otrs/recipes/default.rb index e43a89244..b027a86b6 100644 --- a/cookbooks/otrs/recipes/default.rb +++ b/cookbooks/otrs/recipes/default.rb @@ -64,7 +64,7 @@ postgresql_database database_name do end remote_file "#{Chef::Config[:file_cache_path]}/otrs-#{version}.tar.bz2" do - source "https://ftp.otrs.org/pub/otrs/otrs-#{version}.tar.bz2" + source "https://download.znuny.org/releases/otrs-#{version}.tar.bz2" not_if { ::File.exist?("/opt/otrs-#{version}") } end @@ -92,7 +92,7 @@ end file "/opt/otrs-#{version}/Kernel/Config.pm" do owner user group "www-data" - mode 0o664 + mode "664" content config end @@ -121,7 +121,7 @@ Dir.glob("/opt/otrs/var/cron/*.dist") do |distname| file name do owner "otrs" group "www-data" - mode 0o664 + mode "664" content IO.read(distname) notifies :run, "execute[/opt/otrs/bin/Cron.sh]" end @@ -141,12 +141,12 @@ template "/etc/sudoers.d/otrs" do source "sudoers.erb" owner "root" group "root" - mode 0o440 + mode "440" end template "/etc/cron.daily/otrs-backup" do source "backup.cron.erb" owner "root" group "root" - mode 0o755 + mode "755" end