From b0649cb1e8fa602bc69d9cdfe3caea4f005ee945 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 10 Jul 2018 10:09:20 +0200 Subject: [PATCH] Adding new customer spk-ldap --- customer/spk-ldap/.gitkeep | 0 customer/spk-ldap/common.yaml | 54 ++++++++++++++++++++++++++++++ customer/spk-ldap/development.yaml | 3 ++ customer/spk-ldap/production.yaml | 3 ++ customer/spk-ldap/test.yaml | 3 ++ 5 files changed, 63 insertions(+) create mode 100644 customer/spk-ldap/.gitkeep create mode 100644 customer/spk-ldap/common.yaml create mode 100644 customer/spk-ldap/development.yaml create mode 100644 customer/spk-ldap/production.yaml create mode 100644 customer/spk-ldap/test.yaml diff --git a/customer/spk-ldap/.gitkeep b/customer/spk-ldap/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/customer/spk-ldap/common.yaml b/customer/spk-ldap/common.yaml new file mode 100644 index 00000000..1bcb6fe0 --- /dev/null +++ b/customer/spk-ldap/common.yaml @@ -0,0 +1,54 @@ +--- + +infra::role: base +infra::additional_classes: + - infra::profile::postfix + - infra::profile::cron + - rsyslog::client + - infra::profile::logrotate + - resolv_conf + +postfix::myorigin: "pixelpark.net" +infra::profile::postfix::cert_servername: 'wildcard.pixelpark.net' +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.net' + - 'pixelpark.com' + + +# vim: et list diff --git a/customer/spk-ldap/development.yaml b/customer/spk-ldap/development.yaml new file mode 100644 index 00000000..d203fdc2 --- /dev/null +++ b/customer/spk-ldap/development.yaml @@ -0,0 +1,3 @@ +--- + +# vim: et list diff --git a/customer/spk-ldap/production.yaml b/customer/spk-ldap/production.yaml new file mode 100644 index 00000000..d203fdc2 --- /dev/null +++ b/customer/spk-ldap/production.yaml @@ -0,0 +1,3 @@ +--- + +# vim: et list diff --git a/customer/spk-ldap/test.yaml b/customer/spk-ldap/test.yaml new file mode 100644 index 00000000..d203fdc2 --- /dev/null +++ b/customer/spk-ldap/test.yaml @@ -0,0 +1,3 @@ +--- + +# vim: et list -- 2.39.5