From 9e9db1d5234c53b629102e1d3473436ebf02f4b8 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 3 Jul 2018 11:11:18 +0200 Subject: [PATCH] Adding common files for customer pixelpark-ldap --- customer/pixelpark-ldap/common.yaml | 53 ++++++++++++++++++++++++ customer/pixelpark-ldap/development.yaml | 3 ++ customer/pixelpark-ldap/production.yaml | 3 ++ customer/pixelpark-ldap/test.yaml | 3 ++ 4 files changed, 62 insertions(+) create mode 100644 customer/pixelpark-ldap/common.yaml create mode 100644 customer/pixelpark-ldap/development.yaml create mode 100644 customer/pixelpark-ldap/production.yaml create mode 100644 customer/pixelpark-ldap/test.yaml diff --git a/customer/pixelpark-ldap/common.yaml b/customer/pixelpark-ldap/common.yaml new file mode 100644 index 00000000..dbc6efea --- /dev/null +++ b/customer/pixelpark-ldap/common.yaml @@ -0,0 +1,53 @@ +--- +infra::role: base +infra::additional_classes: + - infra::profile::postfix + - infra::profile::cron + - rsyslog::client + - infra::profile::logrotate + - resolv_conf + +postfix::myorigin: "pixelpark.com" +infra::profile::postfix::virtual_aliases_source: 'maps/virtual-nullclient-hostmaster' + +infra::profile::ntp::disable_ntp: true + +##################################################### +# 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::manage: true +resolv_conf::nameservers: + - '217.66.52.10' + - '93.188.109.13' + - '212.91.225.75' +resolv_conf::searchpath: + - 'pixelpark.info' + - 'pixelpark.net' + - 'pixelpark.com' + + +# vim: et list diff --git a/customer/pixelpark-ldap/development.yaml b/customer/pixelpark-ldap/development.yaml new file mode 100644 index 00000000..d203fdc2 --- /dev/null +++ b/customer/pixelpark-ldap/development.yaml @@ -0,0 +1,3 @@ +--- + +# vim: et list diff --git a/customer/pixelpark-ldap/production.yaml b/customer/pixelpark-ldap/production.yaml new file mode 100644 index 00000000..d203fdc2 --- /dev/null +++ b/customer/pixelpark-ldap/production.yaml @@ -0,0 +1,3 @@ +--- + +# vim: et list diff --git a/customer/pixelpark-ldap/test.yaml b/customer/pixelpark-ldap/test.yaml new file mode 100644 index 00000000..d203fdc2 --- /dev/null +++ b/customer/pixelpark-ldap/test.yaml @@ -0,0 +1,3 @@ +--- + +# vim: et list -- 2.39.5