Unverified Commit 5b2aeb94 authored by David Barr's avatar David Barr Committed by GitHub

Add a variable definition and two examples. (#212)

- Add the `inet_protocols` variable.
- Give examples for `include postfix` and `class { 'postfix': ... }`.
Co-authored-by: default avatarRaphaël Pinson <raphael.pinson@camptocamp.com>
parent 536ba8a3
......@@ -45,6 +45,7 @@ Example: '127.0.0.1, [::1]'.
##### `inet_protocols`
A string defining the internet protocols that Postfix will use.
Default: 'all'.
Example: 'ipv4'.
......@@ -194,6 +195,20 @@ A Boolean to define whether to configure master.cf to use the Sympa mailing list
Default: False.
#### Examples
##### Include
```puppet
include postfix
```
or
##### Class Resource
```puppet
class { 'postfix':
inet_interfaces => 'localhost',
inet_protocols => 'ipv4',
relayhost => "mail.${facts['domain']}",
root_mail_recipient => 'dont_bother_the_sysadmins@example.com',
}
```
### postfix::config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment