Commit d902bc15ab790dc84ebddafd7dade54917a827fe

Authored by Sergio Oliveira
1 parent 13a720b5

Created tmp directory before exec preconfig task

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
Rakefile
... ... @@ -85,6 +85,7 @@ $ALT_SSH_PORT = config.fetch('alt_ssh_port', 2222)
85 85 $nodes.find { |n| n.hostname == 'reverseproxy' }.data['ssh_port'] = $ALT_SSH_PORT
86 86 desc 'Makes configurations needed before the bootstrap phase'
87 87 task :preconfig => ssh_config_file do
  88 + sh 'mkdir', '-p', 'tmp/'
88 89 preconfig_file = "tmp/preconfig.#{$SPB_ENV}.stamp"
89 90 if File.exist?(preconfig_file)
90 91 puts "I: preconfig already done."
... ...