From: Peter Palfrader Date: Wed, 27 May 2009 19:20:20 +0000 (+0200) Subject: Change formatting for geodns/manifest X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=0e36b5db7db8c2aab6c338f0397e910774abe7c4;p=mirror%2Fdsa-puppet.git Change formatting for geodns/manifest --- diff --git a/modules/geodns/manifests/init.pp b/modules/geodns/manifests/init.pp index b70dfcd89..542f5584b 100644 --- a/modules/geodns/manifests/init.pp +++ b/modules/geodns/manifests/init.pp @@ -1,53 +1,54 @@ class geodns { - package { bind9: ensure => installed } - - file { - "/etc/apt/sources.list.d/geoip.list": - source => "puppet:///files/etc/apt/sources.list.d/geoip.list", - notify => Exec["apt-get update"], - ; - } - file { "/etc/bind/named.conf.local": - source => [ "puppet:///geodns/per-host/$fqdn/named.conf.local", - "puppet:///geodns/common/named.conf.local" ], - require => Package["bind9"], - notify => Exec["bind9 restart"], - owner => root, - group => root, - - } - file { "/etc/bind/named.conf.geo": - source => [ "puppet:///geodns/per-host/$fqdn/named.conf.geo", - "puppet:///geodns/common/named.conf.geo" ], - require => Package["bind9"], - notify => Exec["bind9 restart"], - owner => root, - group => root, - - } - file { "/etc/bind/named.conf.acl": - source => [ "puppet:///geodns/per-host/$fqdn/named.conf.acl", - "puppet:///geodns/common/named.conf.acl" ], - require => Package["bind9"], - notify => Exec["bind9 restart"], - owner => root, - group => root, - - } - file { "/etc/bind/named.conf.options": - source => [ "puppet:///geodns/per-host/$fqdn/named.conf.options", - "puppet:///geodns/common/named.conf.options" ], - require => Package["bind9"], - notify => Exec["bind9 restart"], - owner => root, - group => root, - - } - - exec { "bind9 restart": - path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", - refreshonly => true, - } + package { + bind9: ensure => installed; + } + + file { + "/etc/apt/sources.list.d/geoip.list": + source => "puppet:///files/etc/apt/sources.list.d/geoip.list", + notify => Exec["apt-get update"], + ; + "/etc/bind/named.conf.local": + source => [ "puppet:///geodns/per-host/$fqdn/named.conf.local", + "puppet:///geodns/common/named.conf.local" ], + require => Package["bind9"], + notify => Exec["bind9 restart"], + owner => root, + group => root, + ; + "/etc/bind/named.conf.geo": + source => [ "puppet:///geodns/per-host/$fqdn/named.conf.geo", + "puppet:///geodns/common/named.conf.geo" ], + require => Package["bind9"], + notify => Exec["bind9 restart"], + owner => root, + group => root, + ; + "/etc/bind/named.conf.acl": + source => [ "puppet:///geodns/per-host/$fqdn/named.conf.acl", + "puppet:///geodns/common/named.conf.acl" ], + require => Package["bind9"], + notify => Exec["bind9 restart"], + owner => root, + group => root, + ; + "/etc/bind/named.conf.options": + source => [ "puppet:///geodns/per-host/$fqdn/named.conf.options", + "puppet:///geodns/common/named.conf.options" ], + require => Package["bind9"], + notify => Exec["bind9 restart"], + owner => root, + group => root, + ; + } + + exec { + "bind9 restart": + path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", + refreshonly => true, + ; + } } +# vim: set fdm=marker ts=8 sw=8 et: