Mercurial > repos > other > Puppet
comparison manifests/nodes.pp @ 311:51d3748f8112
Configure Dovecot (IMAP) for PROXY protocol use
Includes moving firewall rules into the Dovecot class to keep
things closer together and swapping to a template so that we
can put specific values in for IPs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 23 Feb 2020 16:00:41 +0000 |
parents | c0e989d32b5c |
children | 49e66019faf7 |
comparison
equal
deleted
inserted
replaced
310:e9a7e504598b | 311:51d3748f8112 |
---|---|
20 primary_ip => '2a00:1098:82:52::1', | 20 primary_ip => '2a00:1098:82:52::1', |
21 proxy_4to6_ip_prefix => '2a00:1098:82:52::01d4', # ::old4 for IPv4! | 21 proxy_4to6_ip_prefix => '2a00:1098:82:52::01d4', # ::old4 for IPv4! |
22 proxy_upstream => ['2a00:1098::82:1000:3b:1:1', '2a00:1098::80:1000:3b:1:1'], | 22 proxy_upstream => ['2a00:1098::82:1000:3b:1:1', '2a00:1098::80:1000:3b:1:1'], |
23 mailserver => 'mail.ibboard.co.uk', | 23 mailserver => 'mail.ibboard.co.uk', |
24 imapserver => 'imap.ibboard.co.uk', | 24 imapserver => 'imap.ibboard.co.uk', |
25 imapserver_proxy => '2a00:1098:82:52::01d4:03', | |
25 firewall_cmd => 'iptables', | 26 firewall_cmd => 'iptables', |
26 } | 27 } |
27 # If the console fails to start, you may need to run "restorecon /etc/systemd/system/getty.target.wants/*" | 28 # If the console fails to start, you may need to run "restorecon /etc/systemd/system/getty.target.wants/*" |
28 # to reset the SELinux context of the file | 29 # to reset the SELinux context of the file |
29 service { 'serial-getty@ttyS0': | 30 service { 'serial-getty@ttyS0': |