diff options
author | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2012-08-02 11:24:52 +0200 |
---|---|---|
committer | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2012-08-02 11:24:52 +0200 |
commit | d8f231f802e967bdf5c30bbee61fab05a7621dc6 (patch) | |
tree | b30a9f20b284d5b44ec46140bb48468bfb3674d2 /manifests/ns.pp | |
parent | e9c9acdd15579bcb10ca9509c032819d3f808e53 (diff) | |
download | puppet-bind-d8f231f802e967bdf5c30bbee61fab05a7621dc6.tar.gz puppet-bind-d8f231f802e967bdf5c30bbee61fab05a7621dc6.tar.bz2 |
lint + cosmetics
Diffstat (limited to 'manifests/ns.pp')
-rw-r--r-- | manifests/ns.pp | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/manifests/ns.pp b/manifests/ns.pp index 3d07aea..e0fbeef 100644 --- a/manifests/ns.pp +++ b/manifests/ns.pp @@ -1,27 +1,28 @@ -/* - -= Definition: bind::ns -Creates an NS record. - -Arguments: - *$zone*: Bind::Zone name - *$owner*: owner of the Resource Record - *$host*: target of the Resource Record - *$ttl*: Time to Live for the Resource Record. Optional. - -*/ -define bind::ns($ensure=present, - $zone, - $owner=false, - $host, - $ttl=false) { +# = Definition: bind::ns +# +# Creates an NS record. +# +# Arguments: +# *$zone*: Bind::Zone name +# *$owner*: owner of the Resource Record +# *$host*: target of the Resource Record +# *$ttl*: Time to Live for the Resource Record. Optional. +# +define bind::ns ( + $zone, + $host, + $ensure = present, + $owner = false, + $ttl = false +) { bind::record {$name: - ensure => $ensure, - zone => $zone, - owner => $owner, - host => $host, - ttl => $ttl, + ensure => $ensure, + zone => $zone, + owner => $owner, + host => $host, + ttl => $ttl, record_type => 'NS', } + } |