]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Extending test-puppet01.pixelpark.net
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 10 Aug 2018 09:54:25 +0000 (11:54 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 10 Aug 2018 09:54:25 +0000 (11:54 +0200)
customer/pixeltest/test-puppet01.pixelpark.net.yaml

index 1f509dbb9fb3cadb38f338710c629ecfc8b241fc..8070a36685422d97f7fb22c3cbb2232bf11bb517 100644 (file)
@@ -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'
+