Commit 9f223dfe authored by Igor Galić's avatar Igor Galić
Browse files

consistent formating of the documentation

parent 928ecef5
...@@ -13,8 +13,8 @@ This module requires Augeas. ...@@ -13,8 +13,8 @@ This module requires Augeas.
include postfix include postfix
postfix::config { 'relay_domains': postfix::config { 'relay_domains':
ensure => present, ensure => present,
value => 'localhost host.foo.com', value => 'localhost host.foo.com',
} }
``` ```
## Exec paths ## Exec paths
...@@ -201,18 +201,18 @@ Example: 'btree:${data_directory}/smtp_tls_session_cache'. ...@@ -201,18 +201,18 @@ Example: 'btree:${data_directory}/smtp_tls_session_cache'.
##### Configure Postfix to use TLS as a client ##### Configure Postfix to use TLS as a client
```puppet ```puppet
postfix::config { postfix::config {
'smtp_tls_mandatory_ciphers': value => 'high'; 'smtp_tls_mandatory_ciphers': value => 'high';
'smtp_tls_security_level': value => 'secure'; 'smtp_tls_security_level': value => 'secure';
'smtp_tls_CAfile': value => '/etc/pki/tls/certs/ca-bundle.crt'; 'smtp_tls_CAfile': value => '/etc/pki/tls/certs/ca-bundle.crt';
'smtp_tls_session_cache_database': value => 'btree:${data_directory}/smtp_tls_session_cache'; 'smtp_tls_session_cache_database': value => 'btree:${data_directory}/smtp_tls_session_cache';
} }
``` ```
##### Configure Postfix to disable the vrfy command ##### Configure Postfix to disable the vrfy command
```puppet ```puppet
postfix::config { 'disable_vrfy_command': postfix::config { 'disable_vrfy_command':
ensure => present, ensure => present,
value => 'yes', value => 'yes',
} }
``` ```
...@@ -240,15 +240,15 @@ Example: 'puppet:///modules/some/location/sasl_passwd'. ...@@ -240,15 +240,15 @@ Example: 'puppet:///modules/some/location/sasl_passwd'.
##### Create a sasl_passwd hash from a source file ##### Create a sasl_passwd hash from a source file
```puppet ```puppet
postfix::hash { '/etc/postfix/sasl_passwd': postfix::hash { '/etc/postfix/sasl_passwd':
ensure => 'present', ensure => 'present',
source => 'puppet:///modules/profile/postfix/client/sasl_passwd', source => 'puppet:///modules/profile/postfix/client/sasl_passwd',
} }
``` ```
##### Create a sasl_passwd hash with contents defined in the manifest ##### Create a sasl_passwd hash with contents defined in the manifest
```puppet ```puppet
postfix::hash { '/etc/postfix/sasl_passwd': postfix::hash { '/etc/postfix/sasl_passwd':
ensure => 'present', ensure => 'present',
content => '#Destination Credentials\nsmtp.example.com gssapi:nopassword', content => '#Destination Credentials\nsmtp.example.com gssapi:nopassword',
} }
``` ```
### postfix::transport ### postfix::transport
...@@ -263,13 +263,13 @@ The following code is required to use transport maps. ...@@ -263,13 +263,13 @@ The following code is required to use transport maps.
```puppet ```puppet
include postfix include postfix
postfix::hash{'/etc/postfix/transport': postfix::hash { '/etc/postfix/transport':
ensure => present, ensure => present,
} }
postfix::config{'transport_maps' postfix::config { 'transport_maps'
ensure => present, ensure => present,
value => 'hash:/etc/postfix/transport', value => 'hash:/etc/postfix/transport',
} }
``` ```
#### Parameters #### Parameters
...@@ -302,13 +302,13 @@ The following code is necessary to make virtual maps work: ...@@ -302,13 +302,13 @@ The following code is necessary to make virtual maps work:
```puppet ```puppet
include postfix include postfix
postfix::hash {'/etc/postfix/virtual': postfix::hash { '/etc/postfix/virtual':
ensure => present, ensure => present,
} }
postfix::config {'virtual_alias_maps': postfix::config { 'virtual_alias_maps':
ensure => present, ensure => present,
value => 'hash:/etc/postfix/virtual', value => 'hash:/etc/postfix/virtual',
} }
``` ```
#### Parameters #### Parameters
...@@ -331,7 +331,7 @@ Example: 'root' ...@@ -331,7 +331,7 @@ Example: 'root'
##### Route mail bound for 'user@example.com' to root. ##### Route mail bound for 'user@example.com' to root.
```puppet ```puppet
postfix:: virtual {'user@example.com': postfix::virtual {'user@example.com':
ensure => present, ensure => present,
destination => 'root', destination => 'root',
} }
......
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