Open source Puppet documentation

NOTE: This page was generated from the Puppet source code on 2018-03-20 07:07:39 -0700

mailalias

Description

Creates an email alias in the local alias database.

Attributes

mailalias { 'resource title':
  name      => # (namevar) The alias...
  ensure    => # The basic property that the resource should be...
  file      => # A file containing the alias's contents.  The...
  recipient => # Where email should be sent.  Multiple values...
  target    => # The file in which to store the aliases.  Only...
  # ...plus any applicable metaparameters.
}

name

(Namevar: If omitted, this attribute’s value defaults to the resource’s title.)

The alias name.

(↑ Back to mailalias attributes)

ensure

(Property: This attribute represents concrete state on the target system.)

The basic property that the resource should be in.

Default: present

Allowed values:

  • present
  • absent

(↑ Back to mailalias attributes)

file

(Property: This attribute represents concrete state on the target system.)

A file containing the alias’s contents. The file and the recipient entries are mutually exclusive.

(↑ Back to mailalias attributes)

recipient

(Property: This attribute represents concrete state on the target system.)

Where email should be sent. Multiple values should be specified as an array. The file and the recipient entries are mutually exclusive.

(↑ Back to mailalias attributes)

target

(Property: This attribute represents concrete state on the target system.)

The file in which to store the aliases. Only used by those providers that write to disk.

(↑ Back to mailalias attributes)

Providers

aliases

NOTE: This page was generated from the Puppet source code on 2018-03-20 07:07:39 -0700

Back to top