]> gitweb.fluxo.info Git - puppet-bind.git/commitdiff
removed require on A record
authorCédric Jeanneret <cedric.jeanneret@camptocamp.com>
Thu, 27 Dec 2012 09:25:44 +0000 (10:25 +0100)
committerCédric Jeanneret <cedric.jeanneret@camptocamp.com>
Thu, 27 Dec 2012 09:25:44 +0000 (10:25 +0100)
This require break when we have an external MX, like googleApps or else.
As it's an external MX, it's useless (and really NOT recommanded) to
manage its A record ;).

manifests/mx.pp

index 4404a83cb1dc1ed28fd95a15d00e9fae2c0bc3ea..f8ee34deff2dbe4a77385708afe0d1765c8a4d88 100644 (file)
@@ -28,7 +28,7 @@ define bind::mx (
     target  => "/etc/bind/pri/${zone}.conf",
     content => template('bind/mx-record.erb'),
     notify  => Service['bind9'],
-    require => [Bind::Zone[$zone], Bind::A[$host]],
+    require => Bind::Zone[$zone],
   }
 
 }