[et-mgmt-tools] [PATCH 1/1] added rhpl require for rpm

Marcel Haerry haerry+et at puzzle.ch
Wed Jun 25 14:23:44 UTC 2008


From: Marcel Haerry <haerry at puzzle.ch>

If rhpl isn't installed the following error occure:

Stopping cobbler daemon:                                   [FAILED]
Starting cobbler daemon: Traceback (most recent call last):
  File "/usr/bin/cobblerd", line 20, in ?
    import cobbler.cobblerd as app
  File "/usr/lib/python2.4/site-packages/cobbler/cobblerd.py", line 28, in ?
    import remote
  File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 21, in ?
    from rhpl.translate import _, N_, textdomain, utf8
ImportError: No module named rhpl.translate
                                                           [FAILED]

Signed-off-by: Marcel Haerry <haerry at puzzle.ch>
---
 cobbler.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cobbler.spec b/cobbler.spec
index 71c9de3..88849b1 100644
--- a/cobbler.spec
+++ b/cobbler.spec
@@ -15,6 +15,7 @@ Requires: createrepo
 Requires: mod_python
 Requires: python-cheetah
 Requires: rsync
+Requires: rhpl
 Requires(post):  /sbin/chkconfig
 Requires(preun): /sbin/chkconfig
 Requires(preun): /sbin/service
-- 
1.5.5.1




More information about the et-mgmt-tools mailing list