<commit_before>include_recipe "opsworks_papertrail::rsyslog_service"

template "/etc/rsyslog.d/papertrail_log_files.conf" do
  source "papertrail_log_files.conf.erb"
  variables :log_files => node[:papertrail][:log_files], :destination => node[:papertrail][:destination]
  notifies :restart, resources(:service => "rsyslog")
end
<commit_msg>Ensure that /etc/rsyslog.d/papertrail_log_files.conf has correct permissions<commit_after>include_recipe "opsworks_papertrail::rsyslog_service"

template "/etc/rsyslog.d/papertrail_log_files.conf" do
  source "papertrail_log_files.conf.erb"
  mode 0644
  variables :log_files => node[:papertrail][:log_files], :destination => node[:papertrail][:destination]
  notifies :restart, resources(:service => "rsyslog")
end

{'fraction_non_alphanumeric': 0.12813738441215325, 'fraction_numerical': 0.005284015852047556, 'mean_word_length': 8.132530120481928, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '3701565', 'n_tokens_mistral': 266, 'n_tokens_neox': 265, 'n_words': 41}