From 8b7a261e87f864e578cbc8d93a9730c28c3c8c22 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 10 Aug 2018 11:54:25 +0200 Subject: [PATCH] Extending test-puppet01.pixelpark.net --- .../test-puppet01.pixelpark.net.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/customer/pixeltest/test-puppet01.pixelpark.net.yaml b/customer/pixeltest/test-puppet01.pixelpark.net.yaml index 1f509dbb..8070a366 100644 --- a/customer/pixeltest/test-puppet01.pixelpark.net.yaml +++ b/customer/pixeltest/test-puppet01.pixelpark.net.yaml @@ -2,6 +2,31 @@ infra::role: base infra::additional_classes: - infra::profile::tomcat + - infra::profile::cron + - pp_postfix + - rsyslog::client + - infra::profile::logrotate + - resolv_conf + - chrony + +##################################################### +# NTP + Chrony + +infra::profile::ntp::disable_ntp: true +chrony::do_log: true + +##################################################### +# Postfix + +postfix::myorigin: "pixelpark.net" +postfix::mastercf_source: 'puppet:///postfix_dir/master-client.cf' + +pp_postfix::virtual_aliases_source: 'maps/virtual-nullclient-webmaster' +pp_postfix::client_all_interfaces: true +pp_postfix::cert_servername: 'wildcard.pixelpark.net' + +##################################################### +# Tomcat tomcat::install_from_source: false @@ -14,3 +39,29 @@ infra::profile::tomcat::services: use_jsvc: false use_init: true service_name: 'tomcat' + +##################################################### +# 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' + -- 2.39.5