]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Adding customer/pixelpark/dev-artifacts.pixelpark.com.yaml
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 3 May 2018 12:04:05 +0000 (14:04 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 3 May 2018 12:04:05 +0000 (14:04 +0200)
customer/pixelpark/dev-artifacts.pixelpark.com.yaml [new file with mode: 0644]

diff --git a/customer/pixelpark/dev-artifacts.pixelpark.com.yaml b/customer/pixelpark/dev-artifacts.pixelpark.com.yaml
new file mode 100644 (file)
index 0000000..5d63298
--- /dev/null
@@ -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'
+