[augeas-devel] [PATCH 3/4] Exclude /etc/yum/pluginconf.d/versionlock.list from yum.aug

Bill Pemberton wfp5p at virginia.edu
Fri Mar 25 12:52:44 UTC 2011


The versionlock plugin puts a file in /etc/yum/pluginconf.d that is
not a yum config file so yum.aug shouldn't try to parse it.
---
 lenses/yum.aug |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lenses/yum.aug b/lenses/yum.aug
index 141edfd..d6eeb81 100644
--- a/lenses/yum.aug
+++ b/lenses/yum.aug
@@ -52,6 +52,7 @@ module Yum =
   let filter = (incl "/etc/yum.conf")
       . (incl "/etc/yum.repos.d/*")
       . (incl "/etc/yum/pluginconf.d/*")
+      . (excl "/etc/yum/pluginconf.d/versionlock.list")
       . Util.stdexcl
 
   let xfm = transform lns filter
-- 
1.7.4




More information about the augeas-devel mailing list