<commit_before>ark 'neo4j' do
  url node['travis_build_environment']['neo4j_url']
  version node['travis_build_environment']['neo4j_version']
  checksum node['travis_build_environment']['neo4j_checksum']
  has_binaries node['travis_build_environment']['neo4j_binaries']
  extension 'tar.gz'
  retries 2
  retry_delay 30
  strip_components 1
end

template '/etc/neo4j/neo4j.conf' do
  source 'etc-neo4j-neo4j.conf.erb'
  owner node['travis_build_environment']['user']
  group node['travis_build_environment']['group']
  mode 0o644
  variables(<commit_msg>Ensure neo4j config dir is present<commit_after>ark 'neo4j' do
  url node['travis_build_environment']['neo4j_url']
  version node['travis_build_environment']['neo4j_version']
  checksum node['travis_build_environment']['neo4j_checksum']
  has_binaries node['travis_build_environment']['neo4j_binaries']
  extension 'tar.gz'
  retries 2
  retry_delay 30
  strip_components 1
end

directory '/etc/neo4j' do
  owner node['travis_build_environment']['user']
  group node['travis_build_environment']['group']
  mode 0o755
end

template '/etc/neo4j/neo4j.conf' do
  source 'etc-neo4j-neo4j.conf.erb'
  owner node['travis_build_environment']['user']
  group node['travis_build_environment']['group']
  mode 0o644
  variables(
{'fraction_non_alphanumeric': 0.12421383647798742, 'fraction_numerical': 0.031446540880503145, 'mean_word_length': 7.0062893081761, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4327123', 'n_tokens_mistral': 462, 'n_tokens_neox': 459, 'n_words': 78}