Commit d327915b92835b4b29bc6077da910bc78ed5ec28
1 parent
aac22fac
Exists in
master
and in
89 other branches
Use one CHAKE_TMPDIR per environment
Requires chake 0.7
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
Rakefile
@@ -13,6 +13,8 @@ ips_file = "config/#{$SPB_ENV}/ips.yaml" | @@ -13,6 +13,8 @@ ips_file = "config/#{$SPB_ENV}/ips.yaml" | ||
13 | config_file = "config/#{$SPB_ENV}/config.yaml" | 13 | config_file = "config/#{$SPB_ENV}/config.yaml" |
14 | iptables_file = "config/#{$SPB_ENV}/iptables-filter-rules" | 14 | iptables_file = "config/#{$SPB_ENV}/iptables-filter-rules" |
15 | 15 | ||
16 | +ENV['CHAKE_TMPDIR'] = "tmp/chake.#{$SPB_ENV}" | ||
17 | + | ||
16 | ENV['CHAKE_SSH_CONFIG'] = ssh_config_file | 18 | ENV['CHAKE_SSH_CONFIG'] = ssh_config_file |
17 | 19 | ||
18 | if $SPB_ENV == 'lxc' | 20 | if $SPB_ENV == 'lxc' |
@@ -43,8 +45,8 @@ end | @@ -43,8 +45,8 @@ end | ||
43 | 45 | ||
44 | require 'chake' | 46 | require 'chake' |
45 | 47 | ||
46 | -if Chake::VERSION < '0.4.3' | ||
47 | - fail "Please upgrade to chake 0.4.3+" | 48 | +if Chake::VERSION < '0.7' |
49 | + fail "Please upgrade to chake 0.7+" | ||
48 | end | 50 | end |
49 | 51 | ||
50 | ips ||= YAML.load_file(ips_file) | 52 | ips ||= YAML.load_file(ips_file) |