from .xlate import XLATOR
-__version__ = '0.6.3'
+__version__ = '0.6.4'
LOG = logging.getLogger(__name__)
self.ensure_remote_file(local_file, remote_file)
+ # -------------------------------------------------------------------------
+ def ensure_rsyslog_cfg_files(self):
+
+ remote_dir = docroot / self.config.system_status
+
+ LOG.info(_("Ensuring correctness of rsyslog config files ..."))
+
+ for local_cfg_file in self.base_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)))
+ self.ensure_remote_file(local_cfg_file, remote_cfg_file, check_parent=False)
+
# -------------------------------------------------------------------------
def ensure_profile_ks(self):
from .xlate import XLATOR
-__version__ = '1.8.3'
+__version__ = '1.8.4'
LOG = logging.getLogger(__name__)
TZ = pytz.timezone('Europe/Berlin')
self.check_for_cobbler_distro()
self.cobbler.ensure_profile()
self.cobbler.ensure_root_authkeys()
+ self.cobbler.ensure_rsyslog_cfg_files()
self.cobbler.ensure_system_ks()
self.cobbler.ensure_snippets()
self.cobbler.ensure_keys()