HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/certbot/current/usr/share/augeas/lenses/dist/sos.aug
(*
Module: Sos
    Parses Anaconda's user interaction configuration files.

Author: George Hansper <george@hansper.id.au>

About: Reference
    https://github.com/hercules-team/augeas/wiki/Generic-modules-IniFile
    https://github.com/sosreport/sos

About: Configuration file
    This lens applies to /etc/sos/sos.conf

About: License
  This file is licensed under the LGPL v2+, like the rest of Augeas.
*)
module Sos =
autoload xfm

let comment = IniFile.comment "#" "#"
let sep     = IniFile.sep "=" "="

let entry   = IniFile.entry IniFile.entry_re sep comment
let title   = IniFile.title IniFile.record_re
let record  = IniFile.record title entry

let lns     = IniFile.lns record comment

let filter  = ( incl "/etc/sos/sos.conf" )
              . ( Util.stdexcl )

let xfm     = transform lns filter