From 15049eff83d9fc6231daa4dc85cd34b9d5b2d65b Mon Sep 17 00:00:00 2001 From: Gabriel Nagy Date: Mon, 4 Oct 2021 11:00:55 +0300 Subject: (MODULES-11197) Update to pdk-templates 2.2.0 Includes REFERENCE.md ToC fixes for MODULES-8183. --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 124bf86..520c699 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,9 @@ The mailalias module is used to manage entries in the local alias database. ### Beginning with mailalias To manage a mail alias, add the mailalias type to a class: -``` +```puppet mailalias { 'ftp': - ensure => present, + ensure => present, recipient => 'root', } ``` @@ -37,19 +37,19 @@ For details on usage, please see REFERENCE.md for the reference documentation. #### file A file containing the alias’s contents. The file and the recipient entries are mutually exclusive. -``` +```puppet mailalias { 'usenet': ensure => present, - file => '/tmp/foo/usenet-alias', + file => '/tmp/foo/usenet-alias', } ``` This will result in an entry such as `usenet: :include: /tmp/foo/usenet-alias` #### recipient Where email should be sent. Multiple values should be specified as an array. The file and the recipient entries are mutually exclusive. -``` +```puppet mailalias { 'ftp': - ensure => present, + ensure => present, recipient => 'root', } ``` @@ -57,15 +57,15 @@ This will result in an entry such as `ftp: root` #### target The file in which to store the aliases. Only used by those providers that write to disk. -``` +```puppet mailalias { 'ftp': - ensure => present, + ensure => present, recipient => 'root', - target => `/etc/mail/aliases` + target => `/etc/mail/aliases` } ``` This will ensure the entry exists in the file specified, such as: -``` +```sh-session $ cat /etc/mail/aliases ftp: root ``` -- cgit v1.2.3