/usr/share/augeas/lenses/dist/sssd.aug is in augeas-lenses 1.10.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | (*
Module Sssd
Lens for parsing sssd.conf
Author: Erinn Looney-Triggs <erinn.looneytriggs@gmail.com>
About: License
This file is licensed under the LGPL v2+, like the rest of Augeas.
About: Configuration files
This lens applies to /etc/sssd/sssd.conf. See <filter>.
*)
module Sssd =
autoload xfm
let comment = IniFile.comment /[#;]/ "#"
let sep = IniFile.sep "=" "="
let entry = IniFile.indented_entry IniFile.entry_re sep comment
(* View: title
An sssd.conf section title *)
let title = IniFile.indented_title_label "target" IniFile.record_label_re
(* View: record
An sssd.conf record *)
let record = IniFile.record title entry
(* View: lns
The sssd.conf lens *)
let lns = ( comment | IniFile.empty )* . (record)*
(* View: filter *)
let filter = (incl "/etc/sssd/sssd.conf")
let xfm = transform lns filter
|