summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Snapshots.py
diff options
context:
space:
mode:
authorDavid Strauss <david@fourkitchens.com>2009-11-05 07:33:55 +0000
committerDavid Strauss <david@fourkitchens.com>2009-11-05 07:33:55 +0000
commitbba9d58cd72d779c68811a26dc2af5ceb68e445b (patch)
tree925d302db77f1772b2c9e50843d2f45908207dc7 /src/lib/Server/Plugins/Snapshots.py
parente0c72817ab84e7a1be45160c294b4b7a45935ee6 (diff)
downloadbcfg2-bba9d58cd72d779c68811a26dc2af5ceb68e445b.tar.gz
bcfg2-bba9d58cd72d779c68811a26dc2af5ceb68e445b.tar.bz2
bcfg2-bba9d58cd72d779c68811a26dc2af5ceb68e445b.zip
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
Diffstat (limited to 'src/lib/Server/Plugins/Snapshots.py')
-rw-r--r--src/lib/Server/Plugins/Snapshots.py5
1 files 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 = []