summaryrefslogtreecommitdiff
path: root/manifests/definitions/bind-mx.pp
diff options
context:
space:
mode:
authorMarc Fournier <marc.fournier@camptocamp.com>2011-11-15 13:13:29 +0100
committerMarc Fournier <marc.fournier@camptocamp.com>2011-11-15 13:13:29 +0100
commit61452bec75976590a0293870d410ed0d3c80f843 (patch)
tree34cf56382b6489a3e680cfa9f49398b62ced59cd /manifests/definitions/bind-mx.pp
parentfa66d16ad547f68655b4eab9672592d63821e8ca (diff)
downloadpuppet-bind-61452bec75976590a0293870d410ed0d3c80f843.tar.gz
puppet-bind-61452bec75976590a0293870d410ed0d3c80f843.tar.bz2
file renaming to be compliant with recommended module structure.
Diffstat (limited to 'manifests/definitions/bind-mx.pp')
-rw-r--r--manifests/definitions/bind-mx.pp35
1 files changed, 0 insertions, 35 deletions
diff --git a/manifests/definitions/bind-mx.pp b/manifests/definitions/bind-mx.pp
deleted file mode 100644
index 84a2b9f..0000000
--- a/manifests/definitions/bind-mx.pp
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-
-= Definition: bind::mx
-Creates an MX record.
-
-Arguments:
- *$zone*: Bind::Zone name
- *$owner*: owner of the Resource Record
- *$priority*: MX record priority
- *$host*: target of the Resource Record
- *$ttl*: Time to Live for the Resource Record. Optional.
-
-*/
-define bind::mx($ensure=present,
- $zone,
- $owner=false,
- $priority,
- $host,
- $ttl=false) {
-
- if $owner {
- $_owner = $owner
- } else {
- $_owner = $name
- }
-
- common::concatfilepart{"bind.${name}":
- file => "/etc/bind/pri/${zone}",
- ensure => $ensure,
- notify => Service["bind9"],
- content => template("bind/mx-record.erb"),
- require => [Bind::Zone[$zone], Bind::A[$host]],
- }
-}
-