lib/riak/node/configuration.rb in riak-client-1.0.0.beta vs lib/riak/node/configuration.rb in riak-client-1.0.0

- old
+ new

@@ -154,9 +154,10 @@ [:bitcask, :eleveldb, :merge_index].each {|k| env[k] ||= {} } env[:bitcask][:data_root] ||= (data + 'bitcask').expand_path.to_s env[:eleveldb][:data_root] ||= (data + 'leveldb').expand_path.to_s env[:merge_index][:data_root] ||= (data + 'merge_index').expand_path.to_s env[:riak_core][:ring_state_dir] ||= ring.expand_path.to_s + env[:riak_core][:slide_private_dir] ||= (data + 'slide-data').expand_path.to_s NODE_DIRECTORIES.each do |dir| next if [:ring, :pipe].include?(dir) env[:riak_core][:"platform_#{dir}_dir"] ||= send(dir).to_s end end