From d327915b92835b4b29bc6077da910bc78ed5ec28 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 5 Jun 2015 12:24:45 -0300 Subject: [PATCH] Use one CHAKE_TMPDIR per environment --- Rakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 924ce86..2063f98 100644 --- a/Rakefile +++ b/Rakefile @@ -13,6 +13,8 @@ ips_file = "config/#{$SPB_ENV}/ips.yaml" config_file = "config/#{$SPB_ENV}/config.yaml" iptables_file = "config/#{$SPB_ENV}/iptables-filter-rules" +ENV['CHAKE_TMPDIR'] = "tmp/chake.#{$SPB_ENV}" + ENV['CHAKE_SSH_CONFIG'] = ssh_config_file if $SPB_ENV == 'lxc' @@ -43,8 +45,8 @@ end require 'chake' -if Chake::VERSION < '0.4.3' - fail "Please upgrade to chake 0.4.3+" +if Chake::VERSION < '0.7' + fail "Please upgrade to chake 0.7+" end ips ||= YAML.load_file(ips_file) -- libgit2 0.21.2