summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/POSIX.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client/Tools/POSIX.py')
-rw-r--r--src/lib/Client/Tools/POSIX.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py
index bfbe79066..bc9626e88 100644
--- a/src/lib/Client/Tools/POSIX.py
+++ b/src/lib/Client/Tools/POSIX.py
@@ -79,11 +79,11 @@ def isString(strng):
class POSIX(Bcfg2.Client.Tools.Tool):
'''POSIX File support code'''
name = 'POSIX'
- __handles__ = [('ConfigFile', None), ('Directory', None),
- ('Path', 'ConfigFile'), ('Path', 'Device'),
- ('Path', 'Directory'), ('Path', 'Perms'),
- ('Path', 'SymLink'), ('Permissions', None),
- ('SymLink', None)]
+ __handles__ = [('ConfigFile', None), ('ConfigFile', 'Compat'),
+ ('Directory', None), ('Path', 'ConfigFile'),
+ ('Path', 'Device'), ('Path', 'Directory'),
+ ('Path', 'Perms'), ('Path', 'SymLink'),
+ ('Permissions', None), ('SymLink', None)]
__req__ = {'ConfigFile': ['name', 'owner', 'group', 'perms'],
'Directory': ['name', 'owner', 'group', 'perms'],
'Path': ['name', 'type'],
@@ -149,6 +149,12 @@ class POSIX(Bcfg2.Client.Tools.Tool):
except OSError:
return False
+ def VerifyDevice(self, entry, _):
+ return False
+
+ def InstallDevice(self, entry):
+ return False
+
def VerifyDirectory(self, entry, modlist):
'''Verify Directory Entry'''
while len(entry.get('perms', '')) < 4: