diff options
Diffstat (limited to 'manifests/mx.pp')
-rw-r--r-- | manifests/mx.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/mx.pp b/manifests/mx.pp index 84a2b9f..433c8ea 100644 --- a/manifests/mx.pp +++ b/manifests/mx.pp @@ -24,11 +24,11 @@ define bind::mx($ensure=present, $_owner = $name } - common::concatfilepart{"bind.${name}": - file => "/etc/bind/pri/${zone}", + concat::fragment {"bind.${name}": ensure => $ensure, - notify => Service["bind9"], + target => "/etc/bind/pri/${zone}.conf", content => template("bind/mx-record.erb"), + notify => Service["bind9"], require => [Bind::Zone[$zone], Bind::A[$host]], } } |