from .xlate import XLATOR
-__version__ = '0.6.6'
+__version__ = '0.6.7'
LOG = logging.getLogger(__name__)
# -------------------------------------------------------------------------
def ensure_rsyslog_cfg_files(self):
+ files_dir = self.base_dir / 'files'
docroot = self.config.cobbler_ws_docroot / self.config.cobbler_ws_rel_filesdir
remote_dir = docroot / self.config.system_status
LOG.info(_("Ensuring currentness of rsyslog config files ..."))
- for local_cfg_file in self.base_dir.glob('*rsyslog.conf*'):
+ for local_cfg_file in files_dir.glob('*rsyslog.conf*'):
remote_cfg_file = remote_dir / local_cfg_file.name
LOG.debug(_("Ensuring {loc!r} => {rem!r}.").format(
loc=str(local_cfg_file), rem=str(remote_cfg_file)))