Commit d327915b92835b4b29bc6077da910bc78ed5ec28

Authored by Antonio Terceiro
1 parent aac22fac

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 13 config_file = "config/#{$SPB_ENV}/config.yaml"
14 14 iptables_file = "config/#{$SPB_ENV}/iptables-filter-rules"
15 15  
  16 +ENV['CHAKE_TMPDIR'] = "tmp/chake.#{$SPB_ENV}"
  17 +
16 18 ENV['CHAKE_SSH_CONFIG'] = ssh_config_file
17 19  
18 20 if $SPB_ENV == 'lxc'
... ... @@ -43,8 +45,8 @@ end
43 45  
44 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 50 end
49 51  
50 52 ips ||= YAML.load_file(ips_file)
... ...