6 |
|
|
7 |
service { named: |
service { named: |
8 |
ensure => running, |
ensure => running, |
9 |
path => "/etc/init.d/named", |
restart => "service named restart", |
10 |
subscribe => [ Package["bind"]] |
subscribe => [ Package["bind"]] |
11 |
} |
} |
12 |
|
|
16 |
group => root, |
group => root, |
17 |
mode => 644, |
mode => 644, |
18 |
require => Package[bind] |
require => Package[bind] |
19 |
|
} |
20 |
|
|
21 |
|
exec { "named_reload": |
22 |
|
command => "service named reload": |
23 |
|
refreshonly => true, |
24 |
} |
} |
25 |
} |
} |
26 |
|
|
47 |
mode => 644, |
mode => 644, |
48 |
content => $zone_content, |
content => $zone_content, |
49 |
require => Package[bind], |
require => Package[bind], |
50 |
notify => Service[named] |
notify => Exec[named_reload] |
51 |
} |
} |
52 |
} |
} |
53 |
|
|