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

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