'Constructor'

def __init__(self, collection_mgr, verbose=True, dhcp=None, dns=None, logger=None, tftpd=None):

    self.logger = logger
    if (logger is None):
        self.logger = clogger.Logger()
    self.verbose = verbose
    self.collection_mgr = collection_mgr
    self.api = collection_mgr.api
    self.distros = collection_mgr.distros()
    self.profiles = collection_mgr.profiles()
    self.systems = collection_mgr.systems()
    self.settings = collection_mgr.settings()
    self.repos = collection_mgr.repos()
    self.templar = templar.Templar(collection_mgr, self.logger)
    self.tftpgen = tftpgen.TFTPGen(collection_mgr, self.logger)
    self.dns = dns
    self.dhcp = dhcp
    self.tftpd = tftpd
    self.bootloc = utils.tftpboot_location()
    self.tftpgen.verbose = verbose
    self.dns.verbose = verbose
    self.dhcp.verbose = verbose
    self.pxelinux_dir = os.path.join(self.bootloc, 'pxelinux.cfg')
    self.grub_dir = os.path.join(self.bootloc, 'grub')
    self.grub2_dir = os.path.join(self.bootloc, 'boot/grub')
    self.images_dir = os.path.join(self.bootloc, 'images')
    self.yaboot_bin_dir = os.path.join(self.bootloc, 'ppc')
    self.yaboot_cfg_dir = os.path.join(self.bootloc, 'etc')
    self.rendered_dir = os.path.join(self.settings.webdir, 'rendered')
