'Constructor
@param CollectionManager collection_mgr collection manager
@param Logger logger logger'

def __init__(self, collection_mgr, logger=None):

    self.collection_mgr = collection_mgr
    self.snippets_base_dir = self.collection_mgr.settings().autoinstall_snippets_dir
    self.templates_base_dir = self.collection_mgr.settings().autoinstall_templates_dir
    self.autoinstallgen = autoinstallgen.AutoInstallationGen(self.collection_mgr)
    if (logger is None):
        logger = clogger.Logger()
    self.logger = logger
