Mercurial > repos > other > Puppet
diff manifests/templates.pp @ 194:a08de3153548 puppet-3.6
Add a named.conf file to control cache/memory size
Also fixed dependencies at the same time
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 10 Apr 2019 20:11:55 +0100 |
parents | 9de3c4d597e9 |
children | f70831cc2864 |
line wrap: on
line diff
--- a/manifests/templates.pp Sun Mar 10 10:07:52 2019 +0000 +++ b/manifests/templates.pp Wed Apr 10 20:11:55 2019 +0100 @@ -158,6 +158,15 @@ service { 'named': ensure => running, enable => true, + require => Package['bind'], + } + + file { '/etc/named.conf': + ensure => present, + source => 'puppet:///common/named.conf', + group => 'named', + require => Package['bind'], + notify => Service['named'], } file { '/etc/NetworkManager/conf.d/local-dns-resolver.conf': @@ -169,6 +178,7 @@ file { '/etc/sysconfig/named': ensure => present, content => 'OPTIONS="-4"', + require => Package['bind'], } file { '/etc/resolv.conf':