Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
Signed-off-by: jiazhang <jiazhang@redhat.com>
  • Loading branch information
wushiqinlou committed Sep 28, 2024
1 parent a699136 commit 1419dbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions insights/parsers/cups_confs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit 1419dbf

Please sign in to comment.