? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/puppetlabs/puppet/share/augeas/lenses/dist/
File Upload :
Current File : //opt/puppetlabs/puppet/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

T1KUS90T
  root-grov@198.54.114.191:~$