<commit_before>#                       
# Cookbook Name:: splunk
# Recipe:: default
#
# Copyright 2012, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#

rightscale_marker :begin

log "installing Splunk"

user "#{node[:splunk][:user]}" do
user node[:splunk][:user] do
 action :create
 system true
 shell "/bin/bash"
end 

directory node[:splunk][:installdir] do   
  owner "#{node[:splunk][:user]}"
  mode "0755"   
  action :create 
end 

remote_file "#{node[:splunk][:installdir]}/splunk.tar" do   
  source node[:splunk][:installfile]
  action :create_if_missing 
end <commit_msg>added an input to the splunk cookbook<commit_after>#                       
# Cookbook Name:: splunk
# Recipe:: default
#
# Copyright 2012, YOUR_COMPANY_NAME
#
# All rights reserved - Do Not Redistribute
#

rightscale_marker :begin

log "installing Splunk"

user "#{node[:splunk][:user]}" do
 action :create
 system true
 shell "/bin/bash"
end 

directory node[:splunk][:installdir] do   
  owner "#{node[:splunk][:user]}"
  mode "0755"   
  action :create 
end 

remote_file "#{node[:splunk][:installdir]}/splunk.tar" do   
  source node[:splunk][:installfile]
  action :create_if_missing 
end 
{'fraction_non_alphanumeric': 0.1322175732217573, 'fraction_numerical': 0.013389121338912133, 'mean_word_length': 3.9833333333333334, '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': '651881', 'n_tokens_mistral': 433, 'n_tokens_neox': 410, 'n_words': 105}