summaryrefslogtreecommitdiff
path: root/manifests/definitions/bind-ns.pp
blob: 9919f53a3eda4e9131bac4cfa1f54e0935b5563b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
define bind::ns($ensure=present,
    $zone,
    $owner,
    $host,
    $ttl=false) {

  bind::record {$name:
    ensure => $ensure,
    zone   => $zone,
    owner  => $owner,
    host   => $host,
    ttl    => $ttl,
    record_type => 'NS',
  }
}