Fix Bind failed when bind config changed everytime

The current file_file to configure dns config file exist a bug:
it will change the dns confif file every time when run puppet, then
bind will fail to resolve any records.
This commit is contained in:
Xingchao Yu 2013-10-28 16:32:06 +08:00
parent 733ece3c91
commit 9c0751ec7b
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ class designate::dns (
file_line {'dns designate path':
path => $dns::params::namedconf_path,
line => "include \"${designatefile}\";",
line => "include \"${designatefile}\";",
match => '^include \"(.*)$',
require => Class['designate'],
}