From dddcbb09bf35cb4cad5225b4c2d15bcd558570a3 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Thu, 26 Feb 2015 16:43:23 +0000 Subject: [PATCH] changing dir for chmod in taskotron master to be appropriate for slave --- .../buildmaster-configure/templates/taskotron.master.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 b/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 index a6c796b914..28c39cdd8c 100644 --- a/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 +++ b/roles/taskotron/buildmaster-configure/templates/taskotron.master.cfg.j2 @@ -181,7 +181,7 @@ factory.addStep(FileUpload(slavesrc="/var/log/taskotron/taskotron.log", masterdest=Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/taskotron.log'))) # change permissions for uuid dir to be accessible via http -factory.addStep(ShellCommand(command=["chmod", '-R', '0755', Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/')])) +factory.addStep(ShellCommand(command=["chmod", '-R', '0755', Interpolate('/var/lib/taskotron/artifacts/%(prop:uuid)s/')])) {% else %} # capture the taskotron log