From: Frank Brehm Date: Thu, 3 May 2018 12:04:05 +0000 (+0200) Subject: Adding customer/pixelpark/dev-artifacts.pixelpark.com.yaml X-Git-Tag: v0.1.0~1157^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=94eeb60eee4e478392712840fde1db73ba041cf7;p=pixelpark%2Fhiera.git Adding customer/pixelpark/dev-artifacts.pixelpark.com.yaml --- diff --git a/customer/pixelpark/dev-artifacts.pixelpark.com.yaml b/customer/pixelpark/dev-artifacts.pixelpark.com.yaml new file mode 100644 index 00000000..5d632983 --- /dev/null +++ b/customer/pixelpark/dev-artifacts.pixelpark.com.yaml @@ -0,0 +1,78 @@ +--- +infra::role: base + +infra::additional_classes: + - infra::profile::postfix + - infra::profile::cron + - infra::profile::logrotate + - resolv_conf +# - infra::profile::infrastructure::nexus + +postfix::myorigin: "pixelpark.com" +infra::profile::postfix::virtual_aliases_source: 'maps/virtual-nullclient-webmaster' + +##################################################### +# Logrotation + +infra::profile::logrotate::rules: + btmp: + dateformat: '-%Y-%m-%d' + wtmp: + dateformat: '-%Y-%m-%d' + syslog: + path: + - '/var/log/cron' + - '/var/log/maillog' + - '/var/log/messages' + - '/var/log/secure' + - '/var/log/spooler' + rotate_every: 'day' + rotate: 10 + minsize: '4M' + compress: true + delaycompress: true + dateformat: '-%Y-%m-%d' + missingok: true + sharedscripts: true + postrotate: '/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true' + +##################################################### +# Options for /etc/resolv.conf +resolv_conf::nameservers: + - '93.188.109.11' + - '93.188.109.12' + - '93.188.109.13' +resolv_conf::searchpath: + - 'pixelpark.com' + - 'pixelpark.net' + +##################################################### +# Nexus Geraffel + +# Grund: Recursion ueber den kompletten Ordner mit Berechtigungsueberpruefung - +# dauert viel zu lange ist auch unnoetig das alle halbe Stunde zu machen +nexus::nexus_work_dir_manage: false + +infra::profile::infrastructure::nexus::nginx_vhosts: + nexus: + server_name: + - dev-artifacts.pixelpark.com + - dev-nexus.pixelpark.com + proxy: http://localhost:8081 + proxy_set_header: + - 'X-Forwarded-Proto "https"' + - 'X-Forwarded-For $proxy_add_x_forwarded_for' + - 'X-Real-IP $remote_addr' + - 'Host $host' +# listen_ip: 217.66.55.70 + client_max_body_size: 3G + ssl: true + ssl_cert: /etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem + ssl_key: /etc/pki/tls/private/wildcard.pixelpark.com-key.pem + rewrite_to_https: true + +infra::profile::infrastructure::nexus::version: '2.14.0' + +# fact override +nginx::config::http2: 'on' +