From 4afe9f75a79bac69d298bdcb0cf938710126d8e5 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Fri, 31 Mar 2017 14:50:19 +0200 Subject: [PATCH] fbb-werbung - add postfix server --- ...rbung-berlin-airport-de.pixelpark.net.yaml | 1 + ...rbung-berlin-airport-de.pixelpark.net.yaml | 1 + customer/fbb-werbung/test.yaml | 31 ++++++++++++++++++- 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/customer/fbb-werbung/test-red-werbung-berlin-airport-de.pixelpark.net.yaml b/customer/fbb-werbung/test-red-werbung-berlin-airport-de.pixelpark.net.yaml index 05df51ef..c2839a2e 100644 --- a/customer/fbb-werbung/test-red-werbung-berlin-airport-de.pixelpark.net.yaml +++ b/customer/fbb-werbung/test-red-werbung-berlin-airport-de.pixelpark.net.yaml @@ -4,6 +4,7 @@ site::additional_classes: - site::profile::pg_server - java - site::profile::apache + - site::profile::postfix site::profile::pg_server::pgpw: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAdX3G34NpvYPPEDmSQgmZf2n/8VPCB6mMiPnUbGZji5u0eHswaIpTFneSJliITcnrPL0W6b5PdQIReUYRZVDJeO3xqx5Opl76ioUMJSa3DUB5O/720JJWvT057fk3Yv/+hNOluSihUv8Uz2e5dyuY/M5j0mkYo1oXhNFyFaS5u/BsfQ+cffj4wMPJGRB75HcDbcCA8Do4m9FkQkFycqtbTVGHRjFPHpX53yxObdnLqFm/9iZDebaoNKYDy32JZiCfqsBQv7MvDY76eWCzBQt9gV6Rm641k1J0MtEylnM3RRMM0VTYfSWzQzR7I0naDnIXqkMyk8c+Q1L3ehKPegHpATBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBD0t94wOrEb7Ip4y3gHIYLtgCBMjLREFtiILrsPMApj2XRfTPisKJ01uteBYqN9msAmrA==] site::profile::pg_server::version: '9.6' diff --git a/customer/fbb-werbung/test-werbung-berlin-airport-de.pixelpark.net.yaml b/customer/fbb-werbung/test-werbung-berlin-airport-de.pixelpark.net.yaml index fb61f757..e4e6098b 100644 --- a/customer/fbb-werbung/test-werbung-berlin-airport-de.pixelpark.net.yaml +++ b/customer/fbb-werbung/test-werbung-berlin-airport-de.pixelpark.net.yaml @@ -4,6 +4,7 @@ site::additional_classes: - site::profile::pg_server - java - site::profile::apache + - site::profile::postfix site::profile::pg_server::pgpw: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAjERwUbYn2/Cg+WUH35ynDxzEmwFO2DV6p8oMhaFUMvSXfwetUMIT2nKiCDyTLwRq5g65LUf4ip2keDimrtkdkKD7vPrqU+LERpeozm/wG2QyOgL9QDIbA7pmWCowalXFSt/eFBP6kCu6z5HVtlpzCyW3gdX/GUgGVNvk7+pof7EC/O/XpwDocq5cfe3LvuCNJEHZAQwmULW7pr4tckcAz+WugHBptqPGO69WPgO1A92u4y+JUVBtF6Yxlf9E9fev1MMgazr8BW3Qz59LvcGlEpgX7f18ZK0nEcwNuOEod1Kl70WT2qpxLqYx8RGzCxQ1e0gY54FdawAOn3n8Hmo0jTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBD0VUNoKD7inXcLn3O2ozybgCCGvPqfIEEjIo3Lw4H9EFsEonk94fj2hylT/+2ArqMmHQ==] site::profile::pg_server::version: '9.6' diff --git a/customer/fbb-werbung/test.yaml b/customer/fbb-werbung/test.yaml index e730af12..8aa6e5fb 100644 --- a/customer/fbb-werbung/test.yaml +++ b/customer/fbb-werbung/test.yaml @@ -10,4 +10,33 @@ sudo::configs: priority: "06" content: | jenkins ALL=(root) NOPASSWD: ALL - jenkins ALL=(tomcat) NOPASSWD: ALL \ No newline at end of file + jenkins ALL=(tomcat) NOPASSWD: ALL + + +site::profile::postfix::hashes: + '/etc/postfix/virtual': + ensure: present + '/etc/postfix/generic': + ensure: present + content: | + root root+%{hostname} + +site::profile::postfix::configs: + virtual_alias_maps: + value: 'pcre:/etc/postfix/virtual_pcre hash:/etc/postfix/virtual' + smtp_generic_maps: + value: 'hash:/etc/postfix/generic' + recipient_delimiter: + value: '+' +site::profile::postfix::virtuals: + 'root': + destination: philipp.dallig@pixelpark.com + 'httpd': + destination: root +site::profile::postfix::files: + /etc/postfix/virtual_pcre: + owner: root + group: root + mode: '0644' + content: | + /\w+\@(?!pixelpark.com|publicispixelpark.de|berlin-airport.de)/ philipp.dallig@pixelpark.com \ No newline at end of file -- 2.39.5