From 1419dbfc5afc4bfe6b409531502e9c081470f800 Mon Sep 17 00:00:00 2001 From: jiazhang Date: Sat, 28 Sep 2024 19:35:49 +0800 Subject: [PATCH] Add note Signed-off-by: jiazhang --- insights/parsers/cups_confs.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/insights/parsers/cups_confs.py b/insights/parsers/cups_confs.py index 636becabf..35ea684db 100644 --- a/insights/parsers/cups_confs.py +++ b/insights/parsers/cups_confs.py @@ -96,6 +96,12 @@ def parse_doc(self, content): class CupsBrowsedConf(Parser, dict): """ Class for parsing the file ``/etc/cups/cups-browsed.conf`` + .. note:: + + The admin can add multiple directives into the configuration file, and restart service without issue. + However, item like BrowseRemoteProtocols only works for the last one, and the item like BrowseAllow works + for all directives. So the values of each directives will get stored to a list with the original order, + and duplicated values will be kept without de-duplication. Sample file content::