diff options
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r-- | cobbler/action_sync.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index 4156ea7..98faa0c 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -29,6 +29,7 @@ from cexceptions import * import templar import pxegen import dhcpgen +import dnsgen import yumgen import item_distro @@ -84,6 +85,7 @@ class BootSync: self.repos = self.config.repos() self.pxegen = pxegen.PXEGen(self.config) self.dhcpgen = dhcpgen.DHCPGen(self.config) + self.dnsgen = dnsgen.DNSGen(self.config) self.yumgen = yumgen.YumGen(self.config) # execute the core of the sync operation @@ -98,6 +100,8 @@ class BootSync: self.dhcpgen.write_dhcp_file() self.dhcpgen.regen_ethers() self.dhcpgen.regen_hosts() + if self.settings.manage_dns: + self.dnsgen.write_bind_files() self.pxegen.make_pxe_menu() # run post-triggers |