summaryrefslogtreecommitdiff
path: root/manifests/definitions/bind-a.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/definitions/bind-a.pp')
-rw-r--r--manifests/definitions/bind-a.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/definitions/bind-a.pp b/manifests/definitions/bind-a.pp
new file mode 100644
index 0000000..37153b8
--- /dev/null
+++ b/manifests/definitions/bind-a.pp
@@ -0,0 +1,15 @@
+define bind::a($ensure=present,
+ $zone,
+ $owner,
+ $host,
+ $ttl=false) {
+
+ bind::record {$name:
+ ensure => $ensure,
+ zone => $zone,
+ owner => $owner,
+ host => $host,
+ ttl => $ttl,
+ record_type => 'A',
+ }
+}