]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Adding postfix configuration to customer/pixelpark/racktables.pixelpark.com.yaml
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 26 Apr 2017 15:04:32 +0000 (17:04 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 26 Apr 2017 15:04:32 +0000 (17:04 +0200)
customer/pixelpark/racktables.pixelpark.com.yaml

index 3b0442d3c925d4f4820fbb228ffd4a4ad755de38..966e644f34fe42cf732f05ae0048775559ee36d0 100644 (file)
@@ -1,2 +1,78 @@
 ---
 infra::role: base
+
+
+#####################################################
+# Postfix configuration:
+
+# Global configurations 
+postfix::alias_maps: ""
+postfix::inet_interfaces: 'all'
+postfix::manage_mailx: false
+postfix::mastercf_source: 'puppet:///postfix_dir/master-nullclient.cf'
+postfix::myorigin: "%{::fqdn}"
+
+# Main.cf config entries
+infra::profile::postfix::configs:
+  address_verify_map:
+    ensure: 'absent'
+  alias_database:
+    ensure: 'blank'
+  append_dot_mydomain:
+    value: 'no'
+  biff:
+    value: 'no'
+  command_directory:
+    ensure: 'absent'
+  daemon_directory:
+    ensure: 'absent'
+  data_directory:
+    ensure: 'absent'
+  debug_peer_level:
+    ensure: 'absent'
+  debugger_command:
+    ensure: 'absent'
+  default_database_type:
+    value: 'hash'
+  html_directory:
+    ensure: 'absent'
+  inet_protocols:
+    value: 'all'
+  local_recipient_maps:
+    ensure: 'blank'
+  local_transport:
+    value: 'error:5.1.1 Mailbox unavailable'
+  mail_owner:
+    ensure: 'absent'
+  mailbox_size_limit:
+    value: '0'
+  manpage_directory:
+    ensure: 'absent'
+  master_service_disable:
+    value: 'inet'
+  mydestination:
+    ensure: 'blank'
+  mydomain:
+    value: 'pixelpark.com'
+  myhostname:
+    value: "%{::fqdn}"
+  mynetworks:
+    value: "127.0.0.0/8"
+  relayhost:
+    value: '[mx.pixelpark.net]'
+  smtp_generic_maps:
+    value: '${default_database_type}:${config_directory}/generic'
+  smtp_tls_session_cache_database:
+    value: 'btree:${data_directory}/smtp_scache'
+  virtual_alias_maps:
+    value: '${default_database_type}:${config_directory}/virtual'
+
+# All postfix hash databases
+infra::profile::postfix::hashes:
+  '/etc/postfix/generic':
+    ensure: 'present'
+    content: "root        root+%{::fqdn}\n"
+  '/etc/postfix/virtual':
+    ensure: 'present'
+    source: 'puppet:///postfix_dir/maps/virtual-nullclient'
+