<commit_before>#
# Cookbook Name:: chef-logstash
# Recipe:: server
#
# Copyright (C) 2014 <NAME>
# 
# License: MIT
#

template "/etc/logstash/conf.d/server.conf" do
  source "logstash.conf.erb"
  variables( :config => node[:logstash][:server] )
  notifies :restart, "service[logstash]"
end
<commit_msg>Set ownership of server.conf<commit_after>#
# Cookbook Name:: chef-logstash
# Recipe:: server
#
# Copyright (C) 2014 <NAME>
# 
# License: MIT
#

template "/etc/logstash/conf.d/server.conf" do
  source "logstash.conf.erb"
  owner "logstash"
  group "logstash"
  mode "0755"
  variables( :config => node[:logstash][:server] )
  notifies :restart, "service[logstash]"
end

{'fraction_non_alphanumeric': 0.15946348733233978, 'fraction_numerical': 0.01788375558867362, 'mean_word_length': 4.743589743589744, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1256813', 'n_tokens_mistral': 271, 'n_tokens_neox': 258, 'n_words': 57}