blob: 16d8168291bd4e65ef7c44688f7c9f6ff51eba5b [file] [log] [blame]
---
classes:
- elasticsearch
- kibana_asf
- apache
- apache::mod::authnz_ldap
- apache::mod::ext_filter
- apache::mod::headers
- apache::mod::proxy
- apache::mod::proxy_http
- datadog_agent::integrations::elasticsearch
- ssl::name::wildcard_apache_org
- oraclejava::install
- vhosts_asf::modules
- vhosts_asf::vhosts
vhosts_asf::modules::modules:
allowmethods:
name: 'allowmethods'
datadog_agent::integrations::elasticsearch::url: 'http://localhost:9200'
dnsclient::searchorder: 'apache.org'
dnsclient::nameservers:
- '213.133.100.100'
- '213.133.98.98'
- '213.133.99.99'
- '8.8.8.8'
- '8.8.4.4'
elasticsearch::init_defaults:
DATA_DIR: '/x1/elastic/db/'
elasticsearch::jvm_options:
- '-Xms30g'
- '-Xmx30g'
elasticsearch::java_install: true
elasticsearch::version: '5.6.6'
elasticsearch::ensure: 'present'
elasticsearch::status: 'enabled'
elasticsearch::default_logging_level: 'WARN'
elasticsearch::instances:
asful:
datadir: '/x1/elastic/db/'
config:
node.name: 'es2-eu-mid'
network.host: '0.0.0.0'
discovery.zen.ping.unicast.hosts:
- 94.130.237.55
- 94.130.237.59
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: '20000'
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'
logrotate::rule:
apache2:
ensure: 'present'
vhosts_asf::vhosts::vhosts:
es2-eu-mid:
vhost_name: '*'
ensure: 'present'
port: 443
ssl: true
servername: 'es2-eu-mid.apache.org'
serveradmin: 'webmaster@apache.org'
docroot: '/var/www/snappy/'
access_log_file: '/dev/null'
error_log_file: 'es2-eu-mid.apache.org.error.log'
custom_fragment: |
<Location /logstash/%{hiera('loggy::route')}/>
AllowMethods POST PUT HEAD
<If "%%{HIERA}{REQUEST_METHOD} in { 'GET', 'DELETE' }">
Require all denied
</If>
ProxyPass http://localhost:9200/
</Location>