diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-11-19 05:25:25 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-11-19 05:25:25 +0000 |
commit | ddc74a543f53d4197e990def51628f961af5b8cd (patch) | |
tree | e432e743fff65d7342bce7e47f07a99a9ec4f899 /src/lib/Server/Reports/reports | |
parent | 18f8668b60cea58fa26ae96c81e201e321547e1a (diff) | |
download | bcfg2-ddc74a543f53d4197e990def51628f961af5b8cd.tar.gz bcfg2-ddc74a543f53d4197e990def51628f961af5b8cd.tar.bz2 bcfg2-ddc74a543f53d4197e990def51628f961af5b8cd.zip |
POSIX: Remove support for old-style posix entries
This commit forces the user to specify <Path> entries on the server
side while still maintaining compatibility with old clients via the
POSIXCompat plugin.
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5582 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Reports/reports')
-rw-r--r-- | src/lib/Server/Reports/reports/models_new.py | 8 | ||||
-rw-r--r-- | src/lib/Server/Reports/reports/models_old.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/Server/Reports/reports/models_new.py b/src/lib/Server/Reports/reports/models_new.py index 01e34de55..40c7137a7 100644 --- a/src/lib/Server/Reports/reports/models_new.py +++ b/src/lib/Server/Reports/reports/models_new.py @@ -6,12 +6,12 @@ from time import strptime KIND_CHOICES = ( #These are the kinds of config elements - ('ConfigFile', 'ConfigFile'), ('Package', 'Package'), + ('Path', 'directory'), + ('Path', 'file'), + ('Path', 'permissions'), + ('Path', 'symlink'), ('Service', 'Service'), - ('SymLink', 'SymLink'), - ('Directory', 'Directory'), - ('Permissions','Permissions'), ) PING_CHOICES = ( #These are possible ping states diff --git a/src/lib/Server/Reports/reports/models_old.py b/src/lib/Server/Reports/reports/models_old.py index 575ed0921..9ff15485a 100644 --- a/src/lib/Server/Reports/reports/models_old.py +++ b/src/lib/Server/Reports/reports/models_old.py @@ -6,12 +6,12 @@ from time import strptime KIND_CHOICES = ( #These are the kinds of config elements - ('ConfigFile', 'ConfigFile'), ('Package', 'Package'), + ('Path', 'directory'), + ('Path', 'file'), + ('Path', 'permissions'), + ('Path', 'symlink'), ('Service', 'Service'), - ('SymLink', 'SymLink'), - ('Directory', 'Directory'), - ('Permissions','Permissions'), ) PING_CHOICES = ( #These are possible ping states |