Imported Upstream version 1.7.0
[platform/upstream/augeas.git] / lenses / koji.aug
1 (*
2 Module: Koji
3   Parses koji config files
4
5 Author: Pat Riehecky <riehecky@fnal.gov>
6
7 About: Reference
8   This lens tries to keep as close as possible to koji config syntax
9
10 About: License
11   This file is licenced under the LGPL v2+, like the rest of Augeas.
12
13 About: Lens Usage
14   To be documented
15
16 About: Configuration files
17   This lens applies to:
18     /etc/koji.conf
19     /etc/kojid/kojid.conf
20     /etc/koji-hub/hub.conf
21     /etc/kojira/kojira.conf
22     /etc/kojiweb/web.conf
23     /etc/koji-shadow/koji-shadow.conf 
24
25   See <filter>.
26 *)
27
28 module Koji =
29   autoload xfm
30
31 let lns     = IniFile.lns_loose_multiline
32
33 let filter = incl "/etc/koji.conf"
34            . incl "/etc/kojid/kojid.conf"
35            . incl "/etc/koji-hub/hub.conf"
36            . incl "/etc/kojira/kojira.conf"
37            . incl "/etc/kojiweb/web.conf"
38            . incl "/etc/koji-shadow/koji-shadow.conf"
39
40 let xfm = transform lns filter