summaryrefslogtreecommitdiffstats
path: root/cobbler/action_check.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-07-27 13:34:01 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-07-27 13:34:01 -0400
commitdd05c92699e657990c77af311b85fbef30472c11 (patch)
tree25eed399bd27ddcb867c19c1db3724e0e0a92a42 /cobbler/action_check.py
parent31a8dfef9c42b77a17ba09d92651cf222b525a00 (diff)
downloadthird_party-cobbler-dd05c92699e657990c77af311b85fbef30472c11.tar.gz
third_party-cobbler-dd05c92699e657990c77af311b85fbef30472c11.tar.xz
third_party-cobbler-dd05c92699e657990c77af311b85fbef30472c11.zip
Added a SNIPPET::foo feature which can do the equivalent of %include in kickstart without the need
for a wget and http hosting. Snippets live in /var/lib/cobbler/snippets -- Cobbler ships with only one snippet now (as a demo), though users can create as many as they want.
Diffstat (limited to 'cobbler/action_check.py')
-rw-r--r--cobbler/action_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_check.py b/cobbler/action_check.py
index 9f258cc..d369527 100644
--- a/cobbler/action_check.py
+++ b/cobbler/action_check.py
@@ -68,7 +68,7 @@ class BootCheck:
if os.path.exists("/etc/rc.d/init.d/iptables"):
rc = sub_process.call("/sbin/service iptables status >/dev/null 2>/dev/null", shell=True)
if rc == 0:
- status.append(_("since iptables may be running, ensure 69, 80, %s, and %s are unblocked") % (self.settings.syslog_port, self.settings.xmlrpc_port))
+ status.append(_("since iptables may be running, ensure 69, 80, %(syslog)s, and %(xmlrpc)s are unblocked") % { "syslog" : self.settings.syslog_port, "xmlrpc" : self.settings.xmlrpc_port })
def check_name(self,status):
"""