diff options
Diffstat (limited to 'manifests/definitions/bind-mx.pp')
-rw-r--r-- | manifests/definitions/bind-mx.pp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/definitions/bind-mx.pp b/manifests/definitions/bind-mx.pp index 5090932..84a2b9f 100644 --- a/manifests/definitions/bind-mx.pp +++ b/manifests/definitions/bind-mx.pp @@ -13,11 +13,17 @@ Arguments: */ define bind::mx($ensure=present, $zone, - $owner, + $owner=false, $priority, $host, $ttl=false) { + if $owner { + $_owner = $owner + } else { + $_owner = $name + } + common::concatfilepart{"bind.${name}": file => "/etc/bind/pri/${zone}", ensure => $ensure, |