From bba9d58cd72d779c68811a26dc2af5ceb68e445b Mon Sep 17 00:00:00 2001 From: David Strauss Date: Thu, 5 Nov 2009 07:33:55 +0000 Subject: Snapshots: Add missing datafields for Directory and SymLink to match listed ftypes. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5536 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/Snapshots.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/Server/Plugins/Snapshots.py b/src/lib/Server/Plugins/Snapshots.py index 871d77b68..c4802a9c3 100644 --- a/src/lib/Server/Plugins/Snapshots.py +++ b/src/lib/Server/Plugins/Snapshots.py @@ -13,8 +13,9 @@ import threading ftypes = ['ConfigFile', 'SymLink', 'Directory'] datafields = {'Package': ['version'], 'Service': ['status'], - 'ConfigFile': ['owner', 'group', 'perms']} - + 'ConfigFile': ['owner', 'group', 'perms'], + 'Directory': ['owner', 'group', 'perms'], + 'SymLink': ['to']} def build_snap_ent(entry): basefields = [] -- cgit v1.2.3-1-g7c22