Defined Type: exim::domainlist
- Defined in:
-
manifests/domainlist.pp
Summary
This define can be used to create domainlists, which can be referenced later
Overview
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'manifests/domainlist.pp', line 14
define exim::domainlist (
$domains=undef,
$path=undef,
){
$listtype = 'domainlist'
if $path {
$listfile = $domains
file {$path:
content => template("${module_name}/listfile.erb"),
}
$list = [ $path ]
}
else {
$list = $domains
}
concat::fragment { "domainlist-${title}":
target => $::exim::config_path,
content => template("${module_name}/list.erb"),
order => '0002',
}
}
|