<commit_before>name "fullstack"
description "My FullStack environment"

override_attributes( 
  'chef_client' => {
    'init_style' => "init",
    'interval' => 180, # => 3 minutes for the demo, not realistic in prod
    'server_url' => "https://api.opscode.com/organizations/fullstack",
    'validation_client_name' => "fullstack-validator"    
  },
  'authorization' => {
    'sudo' => {
      "users" => ["ec2-user"],
      "groups" => ["sysadmins"],
      'passwordless' => true
    }
  },
  'haproxy' => {
    'member_max_connections' => 1000
  },
  'munin' => { 
    'server_auth_method' => 'htpasswd'
  },
  'siege' => {
    'concurrent' => 200
  }
)<commit_msg>adding rest interface for mongo for primary detection from http<commit_after>name "fullstack"
description "My FullStack environment"

override_attributes( 
  'chef_client' => {
    'init_style' => "init",
    'interval' => 180, # => 3 minutes for the demo, not realistic in prod
    'server_url' => "https://api.opscode.com/organizations/fullstack",
    'validation_client_name' => "fullstack-validator"    
  },
  'authorization' => {
    'sudo' => {
      "users" => ["ec2-user"],
      "groups" => ["sysadmins"],
      'passwordless' => true
    }
  },
  'haproxy' => {
    'member_max_connections' => 1000
  },
  'munin' => { 
    'server_auth_method' => 'htpasswd'
  },
  'siege' => {
    'concurrent' => 200
  },
  'mongodb' => {
    'rest' => true
  }
)
{'fraction_non_alphanumeric': 0.17984604618614417, 'fraction_numerical': 0.016794961511546535, 'mean_word_length': 3.121037463976945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 39, 'https://': 2, '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': '207538', 'n_tokens_mistral': 534, 'n_tokens_neox': 499, 'n_words': 96}