diff options
author | Marc Fournier <marc.fournier@camptocamp.com> | 2011-11-15 13:13:29 +0100 |
---|---|---|
committer | Marc Fournier <marc.fournier@camptocamp.com> | 2011-11-15 13:13:29 +0100 |
commit | 61452bec75976590a0293870d410ed0d3c80f843 (patch) | |
tree | 34cf56382b6489a3e680cfa9f49398b62ced59cd /manifests/a.pp | |
parent | fa66d16ad547f68655b4eab9672592d63821e8ca (diff) | |
download | puppet-bind-61452bec75976590a0293870d410ed0d3c80f843.tar.gz puppet-bind-61452bec75976590a0293870d410ed0d3c80f843.tar.bz2 |
file renaming to be compliant with recommended module structure.
Diffstat (limited to 'manifests/a.pp')
-rw-r--r-- | manifests/a.pp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/manifests/a.pp b/manifests/a.pp new file mode 100644 index 0000000..3f30187 --- /dev/null +++ b/manifests/a.pp @@ -0,0 +1,27 @@ +/* + += Definition: bind::a +Creates an IPv4 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::a($ensure=present, + $zone, + $owner=false, + $host, + $ttl=false) { + + bind::record {$name: + ensure => $ensure, + zone => $zone, + owner => $owner, + host => $host, + ttl => $ttl, + record_type => 'A', + } +} |