Skip to content
Snippets Groups Projects
Unverified Commit 5b2aeb94 authored by David Barr's avatar David Barr Committed by GitHub
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ Example: '127.0.0.1, [::1]'. ...@@ -45,6 +45,7 @@ Example: '127.0.0.1, [::1]'.
##### `inet_protocols` ##### `inet_protocols`
A string defining the internet protocols that Postfix will use. A string defining the internet protocols that Postfix will use.
Default: 'all'. Default: 'all'.
Example: 'ipv4'. Example: 'ipv4'.
...@@ -194,6 +195,20 @@ A Boolean to define whether to configure master.cf to use the Sympa mailing list ...@@ -194,6 +195,20 @@ A Boolean to define whether to configure master.cf to use the Sympa mailing list
Default: False. Default: False.
#### Examples #### 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 ### postfix::config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment