3 Lens for parsing sssd.conf
5 Author: Erinn Looney-Triggs <erinn.looneytriggs@gmail.com>
8 This file is licensed under the LGPL v2+, like the rest of Augeas.
10 About: Configuration files
11 This lens applies to /etc/sssd/sssd.conf. See <filter>.
17 let comment = IniFile.comment /[#;]/ "#"
19 let sep = IniFile.sep "=" "="
21 let entry = IniFile.indented_entry IniFile.entry_re sep comment
24 An sssd.conf section title *)
25 let title = IniFile.indented_title_label "target" IniFile.record_label_re
28 An sssd.conf record *)
29 let record = IniFile.record title entry
33 let lns = ( comment | IniFile.empty )* . (record)*
36 let filter = (incl "/etc/sssd/sssd.conf")
38 let xfm = transform lns filter