diff options
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/Cfg.py | 2 | ||||
-rw-r--r-- | src/lib/Server/Plugins/POSIXCompat.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py index ace400692..928a1dd06 100644 --- a/src/lib/Server/Plugins/Cfg.py +++ b/src/lib/Server/Plugins/Cfg.py @@ -86,7 +86,7 @@ class CfgEntrySet(Bcfg2.Server.Plugin.EntrySet): basefile = used.pop(0) data = basefile.data if entry.tag == 'Path': - entry.set('type', 'configfile') + entry.set('type', 'file') for delta in used: data = data.strip() data = process_delta(data, delta) diff --git a/src/lib/Server/Plugins/POSIXCompat.py b/src/lib/Server/Plugins/POSIXCompat.py index 4ea2c490c..9cd09d454 100644 --- a/src/lib/Server/Plugins/POSIXCompat.py +++ b/src/lib/Server/Plugins/POSIXCompat.py @@ -6,9 +6,7 @@ __revision__ = '$Revision$' import Bcfg2.Server.Plugin -# FIXME: We will need this mapping if we decide to change the -# specification to use lowercase types for new POSIX entry types -COMPAT_DICT = {'configfile': 'ConfigFile', +COMPAT_DICT = {'file': 'ConfigFile', 'device': 'device', 'directory': 'Directory', 'nonexistent': 'nonexistent', |