<commit_before>#
# Cookbook Name:: js-jenkins
# Recipe:: yumrepo
#
# Copyright (C) 2016 YOUR_NAME
#
# All rights reserved - Do Not Redistribute
#

directory '/var/www/html/repo' do
  owner 'jenkins'
  group 'nginx'
  mode '0755'
  action :create
end
<commit_msg>Add basic nginx config for yum repo<commit_after>#
# Cookbook Name:: js-jenkins
# Recipe:: yumrepo
#
# Copyright (C) 2016 YOUR_NAME
#
# All rights reserved - Do Not Redistribute
#

directory '/var/www/html/repo' do
  owner 'jenkins'
  group 'nginx'
  mode '0755'
  action :create
end

cookbook_file '/etc/nginx/nginx.conf' do
  source 'yumrepo_nginx.conf'
  owner 'root'
  group 'root'
  mode '0644'
  action :create
  notifies :restart, 'service[nginx]'
end

{'fraction_non_alphanumeric': 0.11927877947295423, 'fraction_numerical': 0.027739251040221916, 'mean_word_length': 4.013888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2006223', 'n_tokens_mistral': 286, 'n_tokens_neox': 269, 'n_words': 79}