Skip to content
Snippets Groups Projects
Commit 822c2b08 authored by Erinn Looney-Triggs's avatar Erinn Looney-Triggs Committed by Mickaël Canévet
Browse files

Spelling.

parent edfa9773
No related branches found
No related tags found
No related merge requests found
...@@ -9,26 +9,28 @@ ...@@ -9,26 +9,28 @@
This module requires Augeas. This module requires Augeas.
## Simple usage ## Simple usage
```
include postfix include postfix
postfix::config { "relay_domains": value => "localhost host.foo.com" } postfix::config { 'relay_domains':
esnure => present,
value => 'localhost host.foo.com',
}
```
## Exec paths ## Exec paths
In order to not have any path problem, you should add the following line in In order to not have any path problem, you should add the following line in some globally included .pp file:
some globally included .pp file: ```
Exec { Exec {
path => '/some/relevant/path:/some/other:...', path => '/some/relevant/path:/some/other:...',
} }
```
For example: For example:
```
Exec { Exec {
path => '/bin:/sbin:/usr/sbin:/usr/bin', path => '/bin:/sbin:/usr/sbin:/usr/bin',
} }
```
## Classes ## Classes
### postfix ### postfix
...@@ -39,7 +41,7 @@ The top-level class, to install and configure Postfix. ...@@ -39,7 +41,7 @@ The top-level class, to install and configure Postfix.
##### `alias_maps` ##### `alias_maps`
A string defining the location of that alias map file. A string defining the location of the alias map file.
Default: 'hash:/etc/aliases'. Default: 'hash:/etc/aliases'.
Example: 'hash:/etc/other_aliases'. Example: 'hash:/etc/other_aliases'.
...@@ -51,48 +53,48 @@ Example: '127.0.0.1, [::1]'. ...@@ -51,48 +53,48 @@ Example: '127.0.0.1, [::1]'.
##### `ldap` ##### `ldap`
A boolean defining whether to configure Postfix for LDAP use. A Boolean defining whether to configure Postfix for LDAP use.
Default: false. Default: false.
##### `ldap_base` ##### `ldap_base`
A string defining the LDAP search base to use. This maps to the search_base parameter (ldap_table(5)). A string defining the LDAP search base to use. This parameter maps to the search_base parameter (ldap_table(5)).
Default: Undefined. Default: Undefined.
Example 'cn=Users,dc=example,dc=com'. Example 'cn=Users,dc=example,dc=com'.
##### `ldap_host` ##### `ldap_host`
A string defining the LDAP host. This maps to the server_host parameter (ldap_table(5)). A string defining the LDAP host. This parameter maps to the server_host parameter (ldap_table(5)).
Default: Undefined. Default: Undefined.
Example: 'ldaps://ldap.example.com:636 ldap://ldap2.example.com'. Example: 'ldaps://ldap.example.com:636 ldap://ldap2.example.com'.
##### `ldap_options` ##### `ldap_options`
A free form string that can defin any ldap options to be passed through. A free form string that can define any ldap options to be passed through (ldap_table(5)).
Default: Undefined. Default: Undefined.
Example: 'start_tls = yes'. Example: 'start_tls = yes'.
##### `mail_user` ##### `mail_user`
A string defining the mail user, and optionally group, to execute external commands as. This maps to the user parameter (pipe(8)). A string defining the mail user, and optionally group, to execute external commands as. This parameter maps to the user parameter (pipe(8)).
Default: 'vmail'. Default: 'vmail'.
Example: 'vmail:vmail'. Example: 'vmail:vmail'.
##### `mailman` ##### `mailman`
A boolean defining whether to configure a basic smtp server that is able to work for the mailman mailing list manager. A Boolean defining whether to configure a basic smtp server that is able to work for the mailman mailing list manager.
Default: false. Default: false.
##### `maincf_source` ##### `maincf_source`
A string defining the location of a skeleton main.cf file to be used. The default file supplied is blank. However, if the main.cf file already exists on the system the contents will NOT be replaced by the contents from maincf_source. A string defining the location of a skeleton main.cf file to be used. The default file supplied is blank. However, if the main.cf file already exists on the system the contents will **NOT** be replaced by the contents from maincf_source.
Default: "puppet:///modules/${module_name}/main.cf". Default: "puppet:///modules/${module_name}/main.cf".
Example: 'puppet:///modules/some/other/location/main.cf'. Example: 'puppet:///modules/some/other/location/main.cf'.
##### `manage_conffiles` ##### `manage_conffiles`
A boolean defining whether the puppet module should replace the configuration files for postfix. A Boolean defining whether the puppet module should replace the configuration files for postfix.
**This setting currently effects the following files:** **This setting currently effects only the following files:**
* /etc/mailname * /etc/mailname
* /etc/postfix/master.cf * /etc/postfix/master.cf
...@@ -124,7 +126,7 @@ Default: Undefined. ...@@ -124,7 +126,7 @@ Default: Undefined.
Example: 'submission inet n - n - - smtpd'. Example: 'submission inet n - n - - smtpd'.
##### `mta` ##### `mta`
A boolean to define whether to configure Postfix as a mail transfer agent. This option is mutually exclusive with the satellite boolean. A Boolean to define whether to configure Postfix as a mail transfer agent. This option is mutually exclusive with the satellite Boolean.
Default: False. Default: False.
##### `mydestination` ##### `mydestination`
...@@ -139,7 +141,7 @@ Example: '127.0.0.0/8, [::1]/128'. ...@@ -139,7 +141,7 @@ Example: '127.0.0.0/8, [::1]/128'.
##### `myorigin` ##### `myorigin`
A string to define the myorigin parameter that holds the domain name that mail appears to come from (postconf(5)). A string to define the myorigin parameter that holds the domain name that mail appears to come from (postconf(5)).
Default: The systems FQDN. Default: The FQDN of the host.
Example: 'example.com' Example: 'example.com'
##### `relayhost` ##### `relayhost`
...@@ -153,35 +155,35 @@ Default: 'nobody'. ...@@ -153,35 +155,35 @@ Default: 'nobody'.
Example: 'root_catch@example.com'. Example: 'root_catch@example.com'.
##### `satellite` ##### `satellite`
A boolean to define whether to configure postfix as a sattellite relay host. This setting is mutually exclusive with the mta boolean. A Boolean to define whether to configure postfix as a satellite relay host. This setting is mutually exclusive with the mta Boolean.
Default: False. Default: False.
##### `smtp_listen` ##### `smtp_listen`
A string to define the IP on which to listen in the master.cf. This can also be set to 'all' to listen on all interfaces. If master_smtp is defined smtp_listen will not be used. A string to define the IP on which to listen in master.cf. This can also be set to 'all' to listen on all interfaces. If master_smtp is defined smtp_listen will not be used.
Default: '127.0.0.1'. Default: '127.0.0.1'.
Example: '::1'. Example: '::1'.
##### `use_amavisd` ##### `use_amavisd`
A boolean to define whether to configure master.cf to allow the use of the amavisd scanner. A Boolean to define whether to configure master.cf to allow the use of the amavisd scanner.
Default: False. Default: False.
##### `use_dovecot_lda` ##### `use_dovecot_lda`
A boolean to define whether to configure master.cf to use dovecot as the local delivery agent. A Boolean to define whether to configure master.cf to use dovecot as the local delivery agent.
Default: False. Default: False.
##### `use_schleuder` ##### `use_schleuder`
A boolean to define whether to configure master.cf to use the Schleuder gpg-enabled mailinglist. A Boolean to define whether to configure master.cf to use the Schleuder GPG-enabled mailing list.
Default: False. Default: False.
##### `use_sympa` ##### `use_sympa`
A boolean to define whether to configure master.cf to use the Sympa mailing list management software. A Boolean to define whether to configure master.cf to use the Sympa mailing list management software.
Default: False. Default: False.
#### Examples #### Examples
### postfix::config ### postfix::config
Add/alter/remove options in Postfix main configuration file (main.cf). This uses augeas to do the editing of the confiugration file, as such any configuration value can be used. Add/alter/remove options in Postfix main configuration file (main.cf). This uses Augeas to do the editing of the configuration file, as such any configuration value can be used.
#### Parameters #### Parameters
...@@ -225,7 +227,7 @@ Default: present. ...@@ -225,7 +227,7 @@ Default: present.
Example: absent. Example: absent.
##### `content` ##### `content`
A free form string that defines the contents of the file. This parameter is mutually exclusive to the source parameter. A free form string that defines the contents of the file. This parameter is mutually exclusive with the source parameter.
Default: Undefined. Default: Undefined.
Example: '#Destination Credentials\nsmtp.example.com gssapi:nopassword'. Example: '#Destination Credentials\nsmtp.example.com gssapi:nopassword'.
...@@ -255,7 +257,7 @@ Manages content of the /etc/postfix/transport map. ...@@ -255,7 +257,7 @@ Manages content of the /etc/postfix/transport map.
#### Requirements #### Requirements
Augeas is of course required. Augeas is, of course, required.
The following code is required to use transport maps. The following code is required to use transport maps.
``` ```
...@@ -273,12 +275,12 @@ postfix::config{'transport_maps' ...@@ -273,12 +275,12 @@ postfix::config{'transport_maps'
#### Parameters #### Parameters
##### `ensure` ##### `ensure`
Defines whether the transport entry is presnet or not. Value can either be present or absent. Defines whether the transport entry is present or not. Value can either be present or absent.
Default: present. Default: present.
Example: absent. Example: absent.
##### `destination` ##### `destination`
The destinationa to be delivered to (transport(5)). The destination to be delivered to (transport(5)).
Default: Undefined. Default: Undefined.
Example: 'mailman'. Example: 'mailman'.
...@@ -294,7 +296,7 @@ Example: '[smtp.google.com]:25'. ...@@ -294,7 +296,7 @@ Example: '[smtp.google.com]:25'.
Manages the contents of the virtual map. Manages the contents of the virtual map.
#### Requirements #### Requirements
Augeas is of course required. Augeas is, of course, required.
The following code is necessary to make virtual maps work: The following code is necessary to make virtual maps work:
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment