diff options
author | Scott Henson <shenson@redhat.com> | 2009-08-21 17:07:42 -0400 |
---|---|---|
committer | Scott Henson <shenson@redhat.com> | 2009-08-21 17:07:42 -0400 |
commit | eb40b7682ecd79fa7a5689ebd3dc70394d84b6f0 (patch) | |
tree | 17180d72455a54429119892ca9b4a347ee1ecf6f /cobbler | |
parent | 839f5eb0343b5030506c1ba4b8a152cf29d2842f (diff) | |
download | cobbler-eb40b7682ecd79fa7a5689ebd3dc70394d84b6f0.tar.gz cobbler-eb40b7682ecd79fa7a5689ebd3dc70394d84b6f0.tar.xz cobbler-eb40b7682ecd79fa7a5689ebd3dc70394d84b6f0.zip |
Fix an error where we were calling a distro into the repo object and add some debug
Diffstat (limited to 'cobbler')
-rw-r--r-- | cobbler/action_replicate.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cobbler/action_replicate.py b/cobbler/action_replicate.py index ec442d99..40a239e1 100644 --- a/cobbler/action_replicate.py +++ b/cobbler/action_replicate.py @@ -146,12 +146,13 @@ class Replicate: if not self.omit_data: self.logger.info("Rsyncing distros") + self.logger.info("Distros %s"%','.join(self.must_include["distro"]) for distro in self.must_include["distro"].keys(): if self.must_include["distro"][distro] == 1: self.rsync_it("distro-%s"%distro, os.path.join(self.settings.webdir,"ks_mirror",distro)) self.logger.info("Rsyncing repos") for repo in self.must_include["repo"].keys(): - if self.must_include["repo"][distro] == 1: + if self.must_include["repo"][repo] == 1: self.rsync_it("repo-%s"%distro, os.path.join(self.settings.webdir,"repo_mirror",distro)) self.logger.info("Rsyncing kickstart templates & snippets") self.rsync_it("cobbler-kickstarts","/var/lib/cobbler/kickstarts") |