diff options
author | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2010-11-11 10:48:02 +0100 |
---|---|---|
committer | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2010-11-15 14:21:11 +0100 |
commit | 9ffcd620373a1b42aeeb519f3d0cdea8ac1d7c22 (patch) | |
tree | eec6505f033ef400013797d0bb934f8f85b3b49b /manifests/definitions/bind-mx.pp | |
parent | e0f517634bb58ec8e9f396ff489eb8a9efc73ee0 (diff) | |
download | puppet-bind-9ffcd620373a1b42aeeb519f3d0cdea8ac1d7c22.tar.gz puppet-bind-9ffcd620373a1b42aeeb519f3d0cdea8ac1d7c22.tar.bz2 |
(bind) added documentation in files.
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]], } } |