<commit_before>---
include:
  default:
    - profile::openstack::novactrl
    - profile::logging::rsyslog::client
    - profile::openstack::openrc
    - profile::openstack::resource::host_aggregate
    - profile::openstack::cache
    - profile::webserver::apache::status

profile::base::selinux::manage_selinux:             true
profile::openstack::novactrl::manage_firewall:      true
profile::openstack::novactrl::enable_api:           true
profile::openstack::novactrl::enable_conductor:     true
profile::openstack::novactrl::enable_scheduler:     true
profile::openstack::novactrl::manage_az:            true
profile::openstack::novactrl::manage_cells:         true

profile::openstack::openrc::interface:    'internal'
profile::openstack::openrc::password:     "%{h<PASSWORD>('<PASSWORD>')}"
profile::openstack::openrc::username:     'nova'
profile::openstack::openrc::project_name: 'services'

profile::openstack::novactrl::firewall_extras:
  source: "%{::network_trp1}/%{::netmask_trp1}"

profile::base::common::packages:
  'bash-completion': {}
  'bash-completion-extras': {}
  'jq': {}
  'openstack-selinux': {}
  'python-memcached': {}
  'libibverbs': {} # not needed but avoid console complaints
  'rdma': {} # not needed but avoid console complaints

# Sensu
profile::webserver::apache::status::manage_status: true
profile::monitoring::sensu::agent::plugins:
  sensu-plugins-apache:
    type:         package
    pkg_version:  '3.0.0'

profile::monitoring::sensu::agent::checks:
  'metrics-httpd-overview':
    type:         'metric'
    command:      "metrics-apache-graphite.rb --scheme httpd.%{::hostname} -h 127.0.0.1"
    interval:     60
    subscribers:  ['metrics']<commit_msg>Added apache httpd tuning config to novactrl<commit_after>---
include:
  default:
    - profile::openstack::novactrl
    - profile::logging::rsyslog::client
    - profile::openstack::openrc
    - profile::openstack::resource::host_aggregate
    - profile::openstack::cache
    - profile::webserver::apache::status

profile::base::selinux::manage_selinux:             true
profile::openstack::novactrl::manage_firewall:      true
profile::openstack::novactrl::enable_api:           true
profile::openstack::novactrl::enable_conductor:     true
profile::openstack::novactrl::enable_scheduler:     true
profile::openstack::novactrl::manage_az:            true
profile::openstack::novactrl::manage_cells:         true

profile::openstack::openrc::interface:    'internal'
profile::openstack::openrc::password:     "%{hiera('nova_api_password')}"
profile::openstack::openrc::username:     'nova'
profile::openstack::openrc::project_name: 'services'

profile::openstack::novactrl::firewall_extras:
  source: "%{::network_trp1}/%{::netmask_trp1}"

profile::base::common::packages:
  'bash-completion': {}
  'bash-completion-extras': {}
  'jq': {}
  'openstack-selinux': {}
  'python-memcached': {}
  'libibverbs': {} # not needed but avoid console complaints
  'rdma': {} # not needed but avoid console complaints

# apache httpd
# this should be fine for 4 GB RAM
apache::mod::prefork::serverlimit:        1024
apache::mod::prefork::maxrequestworkers:  768

# Sensu
profile::webserver::apache::status::manage_status: true
profile::monitoring::sensu::agent::plugins:
  sensu-plugins-apache:
    type:         package
    pkg_version:  '3.0.0'

profile::monitoring::sensu::agent::checks:
  'metrics-httpd-overview':
    type:         'metric'
    command:      "metrics-apache-graphite.rb --scheme httpd.%{::hostname} -h 127.0.0.1"
    interval:     60
    subscribers:  ['metrics']
{'fraction_non_alphanumeric': 0.1595744680851064, 'fraction_numerical': 0.009518477043673012, 'mean_word_length': 4.819218241042345, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6595973', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1135, 'n_words': 173}