diff options
Diffstat (limited to 'manifests/definitions/bind-mx.pp')
-rw-r--r-- | manifests/definitions/bind-mx.pp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/manifests/definitions/bind-mx.pp b/manifests/definitions/bind-mx.pp index 7eb63d0..5090932 100644 --- a/manifests/definitions/bind-mx.pp +++ b/manifests/definitions/bind-mx.pp @@ -1,3 +1,16 @@ +/* + += Definition: bind::mx +Creates an MX record. + +Arguments: + *$zone*: Bind::Zone name + *$owner*: owner of the Resource Record + *$priority*: MX record priority + *$host*: target of the Resource Record + *$ttl*: Time to Live for the Resource Record. Optional. + +*/ define bind::mx($ensure=present, $zone, $owner, @@ -10,7 +23,7 @@ define bind::mx($ensure=present, ensure => $ensure, notify => Service["bind9"], content => template("bind/mx-record.erb"), - require => Bind::Zone[$zone], + require => [Bind::Zone[$zone], Bind::A[$host]], } } |