Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Auto reload after new files.

  • Loading branch information...
commit 4df57ccad0c017c3d4f30e5c671b7119186b18a5 1 parent 78ad7ad
@nathan-gs authored
Showing with 43 additions and 42 deletions.
  1. +43 −42 manifests/init.pp
View
85 manifests/init.pp
@@ -1,43 +1,44 @@
-class bind {
-
-
- package {"bind9":
- ensure => present,
- }
-
- service {"bind9":
- ensure => running,
- enable => true,
- require => Package["bind9"],
- }
-
- file {["/etc/bind/zones"]:
- ensure => directory,
- owner => root,
- group => root,
- mode => 0755,
- require => Package["bind9"],
- source => [
- "puppet:///modules/site-bind/zones",
- "puppet:///modules/bind/zones"
- ],
- recurse => true,
- }
-
- include concat::setup
-
- $local_conf = '/etc/bind/named.conf.local'
-
- concat { $local_conf :
- owner => root,
- group => root,
- mode => 644,
- notify => Service['bind9']
- }
-
- concat::fragment { "header" :
- target => $local_conf,
- content => "// Puppet managed zone config file.\n\n",
- order => 01
- }
+class bind {
+
+
+ package {"bind9":
+ ensure => present,
+ }
+
+ service {"bind9":
+ ensure => running,
+ enable => true,
+ require => Package["bind9"],
+ }
+
+ file {["/etc/bind/zones"]:
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 0755,
+ require => Package["bind9"],
+ source => [
+ "puppet:///modules/site-bind/zones",
+ "puppet:///modules/bind/zones"
+ ],
+ recurse => true,
+ notify => Service['bind9']
+ }
+
+ include concat::setup
+
+ $local_conf = '/etc/bind/named.conf.local'
+
+ concat { $local_conf :
+ owner => root,
+ group => root,
+ mode => 644,
+ notify => Service['bind9']
+ }
+
+ concat::fragment { "header" :
+ target => $local_conf,
+ content => "// Puppet managed zone config file.\n\n",
+ order => 01
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.