Resource Type: mailalias

Included in Puppet Enterprise 2015.3. A newer version is available; see the version menu above for details.

NOTE: This page was generated from the Puppet source code on 2016-01-27 14:15:19 +0000

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...
  provider  => # The specific backend to use for this `mailalias` 
  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.

Valid values are 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)

provider

The specific backend to use for this mailalias resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

Available providers are:

(↑ 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 2016-01-27 14:15:19 +0000

↑ Back to top