summaryrefslogtreecommitdiffstats
path: root/src/lib/Options.py
diff options
context:
space:
mode:
authorHolger Weiß <holger@zedat.fu-berlin.de>2011-06-29 15:55:45 +0200
committerHolger Weiß <holger@zedat.fu-berlin.de>2011-06-29 15:55:45 +0200
commita702a5ee53ae8cb5870844237fe88c55dac97734 (patch)
tree1147fc413cf4e720a5512212cca4046b7637a380 /src/lib/Options.py
parent53d46e336d3514ec50f85e5db4ceed16590bf154 (diff)
downloadbcfg2-a702a5ee53ae8cb5870844237fe88c55dac97734.tar.gz
bcfg2-a702a5ee53ae8cb5870844237fe88c55dac97734.tar.bz2
bcfg2-a702a5ee53ae8cb5870844237fe88c55dac97734.zip
New Info attribute: "sensitive"
The contents/diffs of <Path>s which are marked as "sensitive" are now omitted from the reports transmitted to the server, so that they won't end up in the statistics database.
Diffstat (limited to 'src/lib/Options.py')
-rw-r--r--src/lib/Options.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py
index 619b16787..6b3110107 100644
--- a/src/lib/Options.py
+++ b/src/lib/Options.py
@@ -242,6 +242,9 @@ MDATA_PERMS = Option('Default Path permissions',
MDATA_PARANOID = Option('Default Path paranoid setting',
'false', cf=('mdata', 'paranoid'),
odesc='Path paranoid setting')
+MDATA_SENSITIVE = Option('Default Path sensitive setting',
+ 'false', cf=('mdata', 'sensitive'),
+ odesc='Path sensitive setting')
# Server options
SERVER_REPOSITORY = Option('Server repository path', '/var/lib/bcfg2',