summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-repo-validate6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-repo-validate b/src/sbin/bcfg2-repo-validate
index 5e22dcf75..1889c9892 100755
--- a/src/sbin/bcfg2-repo-validate
+++ b/src/sbin/bcfg2-repo-validate
@@ -87,10 +87,10 @@ if __name__ == '__main__':
# verify attributes for configuration entries
# (as defined in doc/server/configurationentries)
# TODO: See if it is possible to do this in the schema instead
- configuration_attrs = {
+ required_configuration_attrs = {
'device':['name', 'owner', 'group', 'dev_type'],
'directory':['name', 'owner', 'group', 'perms'],
- 'file':['name', 'owner', 'group', 'perms', 'encoding', 'empty'],
+ 'file':['name', 'owner', 'group', 'perms'],
'hardlink':['name', 'to'],
'symlink':['name', 'to'],
'ignore':['name'],
@@ -106,7 +106,7 @@ if __name__ == '__main__':
pathtype = posixpath.get('type')
pathset = set(posixpath.attrib.keys())
try:
- required_attrs = set(configuration_attrs[pathtype] \
+ required_attrs = set(required_configuration_attrs[pathtype] \
+ ['type'])
except KeyError:
continue