<commit_before>---
classes:
  - apache
  - apache::mod::headers
  - apache::mod::userdir
  - ssl::name::wildcard_apache_org
  - vhosts_asf::vhosts

apache::default_vhost: false
apache::default_ssl_cert:                    '/etc/ssl/certs/wildcard.apache.org.crt'
apache::default_ssl_chain:                   '/etc/ssl/certs/wildcard.apache.org.chain'
apache::default_ssl_key:                     '/etc/ssl/private/wildcard.apache.org.key'

apache::mpm_module:         'event'

apache::mod::event::listenbacklog: '511'
apache::mod::event::maxclients: '500'
apache::mod::event::maxconnectionsperchild: '50000'
apache::mod::event::maxrequestworkers: '300'
apache::mod::event::maxsparethreads: '250'
apache::mod::event::minsparethreads: '50'
apache::mod::event::serverlimit: '6'
apache::mod::event::startservers: '3'
apache::mod::event::threadlimit: '300'
apache::mod::event::threadsperchild: '50'

base::basepackages:
  - tcsh
  
cron:
  json1:
    minute: '0'
    hour: '*'
    command: 'cd /tmp/ && wget https://whimsy.apache.org/public/member-info.json && mv member-info.json /var/www/html/site/public/member-info.json'
  json2:
    minute: '0'
    hour: '*'
    command: 'cd /tmp/ && wget https://whimsy.apache.org/public/public_ldap_people.json && mv public_ldap_people.json /var/www/html/site/public/public_ldap_people.json'
  json3:
    minute: '0'
    hour: '*'
    command: 'cd /tmp/ && wget https://whimsy.apache.org/public/committee-info.json && mv committee-info.json /var/www/html/site/public/committee-info.json'
  json4:
    minute: '0'
    hour: '*'
    command: 'cd /tmp/ && wget https://whimsy.apache.org/public/icla-info.json && mv icla-info.json /var/www/html/site/public/icla-info.json'
  json5:
    minute: '0'
    hour: '*'
    command: 'cd /tmp/ && wget https://whimsy.apache.org/public/public_ldap_groups.json && mv public_ldap_groups.json /var/www/html/site/public/public_ldap_groups.json'
  json6:
    minute: '0'
    hour: '*'
    command: 'cd /tmp/ && wget https://whimsy.apache.org/public/public_ldap_committees.json && mv public_ldap_committees.json /var/www/html/site/public/public_ldap_committees.json'
  json7:
    minute: '0'
    hour: '*'
    command: 'cd /tmp/ && wget https://whimsy.apache.org/public/public_ldap_services.json && mv public_ldap_services.json /var/www/html/site/public/public_ldap_services.json'
  json8:
    minute: '0'
    hour: '*'
    command: 'cd /tmp/ && wget https://whimsy.apache.org/public/public_nonldap_groups.json && mv public_nonldap_groups.json /var/www/html/site/public/public_nonldap_groups.json'
  html1:
    minute: '10'
    hour: '*'
    command: '/usr/bin/python3 /var/www/tools/committers.py'

ssh_asf::server_options:
  ListenAddress:
    - '0.0.0.0'
    - '::'
  'Match Group *,!asf999,!root-sudoers':
    ForceCommand: 'internal-sftp'
    X11Forwarding: 'no'
    AllowTCPForwarding: 'no'
    PermitTunnel: 'no'

logrotate::rule:
  apache2:
    ensure: 'present'<commit_msg>Simplify; ensure file dates are only updated if necessary; don't run all jobs at once<commit_after>---
classes:
  - apache
  - apache::mod::headers
  - apache::mod::userdir
  - ssl::name::wildcard_apache_org
  - vhosts_asf::vhosts

apache::default_vhost: false
apache::default_ssl_cert:                    '/etc/ssl/certs/wildcard.apache.org.crt'
apache::default_ssl_chain:                   '/etc/ssl/certs/wildcard.apache.org.chain'
apache::default_ssl_key:                     '/etc/ssl/private/wildcard.apache.org.key'

apache::mpm_module:         'event'

apache::mod::event::listenbacklog: '511'
apache::mod::event::maxclients: '500'
apache::mod::event::maxconnectionsperchild: '50000'
apache::mod::event::maxrequestworkers: '300'
apache::mod::event::maxsparethreads: '250'
apache::mod::event::minsparethreads: '50'
apache::mod::event::serverlimit: '6'
apache::mod::event::startservers: '3'
apache::mod::event::threadlimit: '300'
apache::mod::event::threadsperchild: '50'

base::basepackages:
  - tcsh
  
cron:
  json1:
    user: 'www-data'
    group: 'www-data'
    minute: '1'
    hour: '*'
    command: 'cd /var/www/html/public/ && wget -N -nv https://whimsy.apache.org/public/member-info.json'
  json2:
    user: 'www-data'
    group: 'www-data'
    minute: '2'
    hour: '*'
    command: 'cd /var/www/html/public/ && wget -N -nv https://whimsy.apache.org/public/public_ldap_people.json'
  json3:
    user: 'www-data'
    group: 'www-data'
    minute: '3'
    hour: '*'
    command: 'cd /var/www/html/public/ && wget -N -nv https://whimsy.apache.org/public/committee-info.json'
  json4:
    user: 'www-data'
    group: 'www-data'
    minute: '4'
    hour: '*'
    command: 'cd /var/www/html/public/ && wget -N -nv https://whimsy.apache.org/public/icla-info.json'
  json5:
    user: 'www-data'
    group: 'www-data'
    minute: '5'
    hour: '*'
    command: 'cd /var/www/html/public/ && wget -N -nv https://whimsy.apache.org/public/public_ldap_groups.json'
  json6:
    user: 'www-data'
    group: 'www-data'
    minute: '6'
    hour: '*'
    command: 'cd /var/www/html/public/ && wget -N -nv https://whimsy.apache.org/public/public_ldap_committees.json'
  json7:
    user: 'www-data'
    group: 'www-data'
    minute: '6'
    hour: '*'
    command: 'cd /var/www/html/public/ && wget -N -nv https://whimsy.apache.org/public/public_ldap_services.json'
  json8:
    user: 'www-data'
    group: 'www-data'
    minute: '8'
    hour: '*'
    command: 'cd /var/www/html/public/ && wget -N -nv https://whimsy.apache.org/public/public_nonldap_groups.json'
  html1:
    user: 'www-data'
    group: 'www-data'
    minute: '10'
    hour: '*'
    command: '/usr/bin/python3 /var/www/tools/committers.py'

ssh_asf::server_options:
  ListenAddress:
    - '0.0.0.0'
    - '::'
  'Match Group *,!asf999,!root-sudoers':
    ForceCommand: 'internal-sftp'
    X11Forwarding: 'no'
    AllowTCPForwarding: 'no'
    PermitTunnel: 'no'

logrotate::rule:
  apache2:
    ensure: 'present'
{'fraction_non_alphanumeric': 0.17412599223104205, 'fraction_numerical': 0.018915723695321737, 'mean_word_length': 3.370479704797048, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 36, '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': '7197299', 'n_tokens_mistral': 2340, 'n_tokens_neox': 2245, 'n_words': 363}