Bump to 1.14.1
[platform/upstream/augeas.git] / lenses / postfix_sasl_smtpd.aug
1 module Postfix_sasl_smtpd =
2   autoload xfm
3
4   let eol = Util.eol
5   let colon        = del /:[ \t]*/ ": "
6   let value_to_eol = store Rx.space_in
7
8   let simple_entry (kw:string) = [ key kw . colon . value_to_eol . eol ]
9
10   let entries = simple_entry "pwcheck_method"
11               | simple_entry "auxprop_plugin"
12               | simple_entry "saslauthd_path"
13               | simple_entry "mech_list"
14               | simple_entry "sql_engine"
15               | simple_entry "log_level"
16               | simple_entry "auto_transition"
17
18   let lns = entries+
19
20   let filter = incl "/etc/postfix/sasl/smtpd.conf"
21              . incl "/usr/local/etc/postfix/sasl/smtpd.conf"
22
23   let xfm = transform lns filter