<commit_before># All the configuration files that can be dumped
# the attribute-based-configuration
# dump anything into default['mongodb']['config'][<setting>] = <value>
# these options are in the order of mongodb docs

include_attribute "mongodb::default"

default['mongodb']['config']['port'] = node['mongodb']['port'] || 27017
default['mongodb']['config']['bind_ip'] = node['mongodb']['bind_ip'] || "0.0.0.0"
default['mongodb']['config']['logpath'] = File.join(node['mongodb']['logpath'] || "/var/log/mongodb", "mongodb.log")
default['mongodb']['config']['logappend'] = true
if node.platform_family?("rhel", "fedora") then
    default['mongodb']['config']['fork'] = true<commit_msg>The platform introspection mixin was added in Chef 11 for attributes files<commit_after># All the configuration files that can be dumped
# the attribute-based-configuration
# dump anything into default['mongodb']['config'][<setting>] = <value>
# these options are in the order of mongodb docs

include_attribute "mongodb::default"

default['mongodb']['config']['port'] = node['mongodb']['port'] || 27017
default['mongodb']['config']['bind_ip'] = node['mongodb']['bind_ip'] || "0.0.0.0"
default['mongodb']['config']['logpath'] = File.join(node['mongodb']['logpath'] || "/var/log/mongodb", "mongodb.log")
default['mongodb']['config']['logappend'] = true
# The platform_family? syntax in attributes files was added in Chef 11
# if node.platform_family?("rhel", "fedora") then
if node['platform_family'] == "rhel" || node['platform_family'] == "fedora" then
    default['mongodb']['config']['fork'] = true
{'fraction_non_alphanumeric': 0.2010081915563957, 'fraction_numerical': 0.013862633900441084, 'mean_word_length': 7.822222222222222, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1320212', 'n_tokens_mistral': 512, 'n_tokens_neox': 465, 'n_words': 117}