blob: 7eb63d01c0df5a999042079c511f6465150fe433 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
define bind::mx($ensure=present,
$zone,
$owner,
$priority,
$host,
$ttl=false) {
common::concatfilepart{"bind.${name}":
file => "/etc/bind/pri/${zone}",
ensure => $ensure,
notify => Service["bind9"],
content => template("bind/mx-record.erb"),
require => Bind::Zone[$zone],
}
}
|