]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Change formatting for geodns/manifest
authorPeter Palfrader <peter@palfrader.org>
Wed, 27 May 2009 19:20:20 +0000 (21:20 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 27 May 2009 19:20:20 +0000 (21:20 +0200)
modules/geodns/manifests/init.pp

index b70dfcd89faf4ac9204c3b54df85c102488d945a..542f5584b7e6655ba3dd92935dabf1bf5fd2d85e 100644 (file)
@@ -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: