Defined Type: exim::hostlist

Defined in:
manifests/hostlist.pp

Summary

This define can be used to create hostlists, which can be referenced later

Overview

Parameters:

  • hosts (Any) (defaults to: undef)

    Array containing a list of hosts

See Also:



9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/hostlist.pp', line 9

define exim::hostlist (
  $hosts=undef,
  ){
  $list     = $hosts
  $listtype = 'hostlist'
  concat::fragment { "hostlist-${title}":
    target  => $::exim::config_path,
    content => template("${module_name}/list.erb"),
    order   => '0003',
  }
}