<commit_before>---
classes:
  - apache
  - apache::mod::dav_svn
  - apache::mod::rewrite
  - apache::mod::ssl
  - apache_modules
  - apache_modules::mod_svn_check_path
  - collectd
  - collectd::plugin::cpu
  - collectd::plugin::load
  - collectd::plugin::memory
  - collectd::plugin::interface
  - collectd::plugin::write_http
  - fail2ban
  - puppet_asf
  - ssl::name::wildcard_apache_org
  - subversion_server
  - tlp_vhosts::vhosts_asf
  - zfs_on_ubuntu
  
apache::keepalive:          'On'
apache::keepalive_timeout:  '30'
apache::default_vhost:      true
apache::docroot:            '/x1/www/htdocs'

apache::mod::event::listenbacklog: '511'
apache::mod::event::maxclients: '250'
apache::mod::event::maxconnectionsperchild: '200000'
apache::mod::event::maxrequestworkers: '500'
apache::mod::event::maxsparethreads: '150'
apache::mod::event::minsparethreads: '150'
apache::mod::event::serverlimit: '10'
apache::mod::event::startservers: '5'
apache::mod::event::threadlimit: '250'
apache::mod::event::threadsperchild: '50'

apache::mpm_module:         'event'
apache::serveradmin:        '<EMAIL>'

apache_modules::dev_package:
  - apache2-dev
apache_modules::mod_svn_check_path::required_packages:
  - libsvn-dev

asf-fail2ban::jails::jails:
  httpd-svn:
    filter: asf-httpd
    action: 
      - asf-ban-httpd
      - asf-sendmail[name="HTTPD (Authentication)", hostname="hades", dest=<EMAIL>, sender=<EMAIL>, logpath="/var/log/vc/error_log"]
    logpath: /var/log/vc/error_log
    findtime: 1800
    maxretry: 100<commit_msg>afs-fail2ban hiera wrapper module. refactor yaml to support common class<commit_after>---
classes:
  - apache
  - apache::mod::dav_svn
  - apache::mod::rewrite
  - apache::mod::ssl
  - apache_modules
  - apache_modules::mod_svn_check_path
  - collectd
  - collectd::plugin::cpu
  - collectd::plugin::load
  - collectd::plugin::memory
  - collectd::plugin::interface
  - collectd::plugin::write_http
  - fail2ban
  - puppet_asf
  - ssl::name::wildcard_apache_org
  - subversion_server
  - tlp_vhosts::vhosts_asf
  - zfs_on_ubuntu
  
apache::keepalive:          'On'
apache::keepalive_timeout:  '30'
apache::default_vhost:      true
apache::docroot:            '/x1/www/htdocs'

apache::mod::event::listenbacklog: '511'
apache::mod::event::maxclients: '250'
apache::mod::event::maxconnectionsperchild: '200000'
apache::mod::event::maxrequestworkers: '500'
apache::mod::event::maxsparethreads: '150'
apache::mod::event::minsparethreads: '150'
apache::mod::event::serverlimit: '10'
apache::mod::event::startservers: '5'
apache::mod::event::threadlimit: '250'
apache::mod::event::threadsperchild: '50'

apache::mpm_module:         'event'
apache::serveradmin:        '<EMAIL>'

apache_modules::dev_package:
  - apache2-dev
apache_modules::mod_svn_check_path::required_packages:
  - libsvn-dev

asf-fail2ban::config::jails:
  httpd-svn:
    filter: asf-httpd
    action: 
      - asf-ban-httpd
      - asf-sendmail[name="HTTPD (Authentication)", hostname="hades", dest=<EMAIL>, sender=<EMAIL>, logpath="/var/log/vc/error_log"]
    logpath: /var/log/vc/error_log
    findtime: 1800
    maxretry: 100
{'fraction_non_alphanumeric': 0.16069142125480154, 'fraction_numerical': 0.027208706786171575, 'mean_word_length': 4.830223880597015, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7368993', 'n_tokens_mistral': 1212, 'n_tokens_neox': 1136, 'n_words': 156}