3 package { bind9: ensure => installed }
6 "/etc/apt/sources.list.d/geoip.list":
7 source => "puppet:///files/etc/apt/sources.list.d/geoip.list",
8 notify => Exec["apt-get update"],
11 file { "/etc/bind/named.conf.local":
12 source => [ "puppet:///geodns/per-host/$fqdn/named.conf.local",
13 "puppet:///geodns/common/named.conf.local" ],
14 require => Package["bind9"],
15 notify => Exec["bind9 restart"],
20 file { "/etc/bind/named.conf.geo":
21 source => [ "puppet:///geodns/per-host/$fqdn/named.conf.geo",
22 "puppet:///geodns/common/named.conf.geo" ],
23 require => Package["bind9"],
24 notify => Exec["bind9 restart"],
29 file { "/etc/bind/named.conf.acl":
30 source => [ "puppet:///geodns/per-host/$fqdn/named.conf.acl",
31 "puppet:///geodns/common/named.conf.acl" ],
32 require => Package["bind9"],
33 notify => Exec["bind9 restart"],
38 file { "/etc/bind/named.conf.options":
39 source => [ "puppet:///geodns/per-host/$fqdn/named.conf.options",
40 "puppet:///geodns/common/named.conf.options" ],
41 require => Package["bind9"],
42 notify => Exec["bind9 restart"],
48 exec { "bind9 restart":
49 path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",