Support adding dns snippets on orff from other hosts
[mirror/dsa-puppet.git] / modules / dnsextras / manifests / entry.pp
1 define dnsextras::entry (
2         $zone,
3         $label,
4         $rrtype,
5         $rrdata,
6 ) {
7         @@concat::fragment { "dns-extra-${zone}-${::fqdn}-${name}":
8                 target  => "/srv/dns.debian.org/puppet-extra/include-${zone}",
9                 content => "; ${::fqdn} ${name}\n${label}. IN ${rrtype} ${rrdata}\n",
10                 tag => 'dnsextra',
11         }
12 }