summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Neely <jjneely@ncsu.edu>2010-09-02 14:41:48 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-09-04 16:12:37 -0500
commit077fab0f2a37dfc6a0ba4b10f3481fe251a4c079 (patch)
tree281fd0f13ed5d12ee778e83db584b736f1eb3369
parenta646475d4bde88bf6c342683bd6dd1fb3f71c7ef (diff)
downloadbcfg2-077fab0f2a37dfc6a0ba4b10f3481fe251a4c079.tar.gz
bcfg2-077fab0f2a37dfc6a0ba4b10f3481fe251a4c079.tar.bz2
bcfg2-077fab0f2a37dfc6a0ba4b10f3481fe251a4c079.zip
YUMng: patch from Tim Laszlo to handle verifying broken symlinks
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6049 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Client/Tools/YUMng.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py
index 24941a745..9ef0a3d14 100644
--- a/src/lib/Client/Tools/YUMng.py
+++ b/src/lib/Client/Tools/YUMng.py
@@ -499,6 +499,8 @@ class YUMng(Bcfg2.Client.Tools.PkgTool):
continue
tmp = []
for p in probs:
+ if p.type == 'missing' and os.path.islink(fn):
+ continue
if p.type not in ['missingok', 'ghost']:
tmp.append((p.type, p.message))
if tmp != []: