Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
L
 LABEL OPERATIONS, Build
 label_opt_list, Syslog
 label_opt_list_or, Syslog
 lbracket, Keepalived
 LENS
 LENS AND FILTER, Mke2fs
 Lens definition, IniFile
 Lens usage, IniFile
 Lens Usage
 LENS&FILTER
 lens_block, Keepalived
 LENSE DEFINITION, Syslog
 LENSES, Services
 Licence
 License
 Limitations, Exports
 list, Build
 LIST CONSTRUCTIONS, Build
 list_sto, Mke2fs
 lns
 lns_noempty, IniFile
 loghost, Syslog
 loghost_r, Syslog
 Login_defs
 logprogram, Syslog
 Lokkit
 LVS CONFIGURATION, Keepalived
 lvs_conf, Keepalived
M
 MAIN OPTIONS, Resolv
 method, Pg_Hba
 minute, Cron
 Mke2fs
 modpath, Solaris_System
 Modprobe
 Modules_conf
 month, Cron
N
 name, cgrules
 named_block, Keepalived
 named_block_arg, Keepalived
 named_block_arg_title, Keepalived
 nameserver, Resolv
 negate_node, Sudoers
 netgroup, Access
 netmask, Resolv
 Nrpe
 Nsswitch
 num, Cron
let label_opt_list (
   l:string
) (r:lens) (s:lens) = Build.opt_list [ label l . r ] s
Uses Build.opt_list to generate a list of labels
let label_opt_list_or (
   l:string
) (r:lens) (s:lens) (or:string) = ( label_opt_list l r s | [ label l . store or ] )
Either label_opt_list matches something or it emits a single label with the “or” string.
This lens is made to provide generic primitives to construct INI File lenses.
Sample usage of this lens in augtool
Sample usage of this lens in augtool
Sample usage of this lens in augtool
Since control file is not a system configuration file, you will have to use augtool -r option to point to ‘debian’ directory.
Sample usage of this lens in augtool
To be documented
To be documented
Sample usage of this lens in augtool
To be documented
Sample usage of this lens in augtool
To be documented
Sample usage of this lens in augtool
let lens_block (
   title:lens
) (sto:lens) = [ indent . title . sep_spc . lbracket . eol . (sto | empty | comment)+ . indent . rbracket . eol ]
A generic block with a title lens
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the BSD License.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPL v2+.
This file is licensed under the GPL.
This file, and the attendant test_dpgk.aug, are explicitely placed in the public domain.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licenced under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licenced under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licenced under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPL v2+.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This file is licensed under the LGPLv2+, like the rest of Augeas.
This lens cannot handle options without a host, as with the last example line in “man 5 exports”:
let list (lns:lens) (sep:lens) = lns . ( sep . lns )+
Build a list of identical lenses separated with a given separator (at least 2 elements)
let list_sto (
   kw:regexp
) (lns:lens) = counter "item" . entry kw (Build.opt_list [lns] Sep.comma)
A list of values with given lens
let lns = (empty | comment record) *
The crypttab lens
let lns = (comment|empty|entry) *
The access.conf lens, any amount of
let lns = (empty | comment | user_record group_record)*
The main lens, any amount of
let lns = (empty | comment | shellvar entry)*
The cron lens
let lns = (empty | comment record) *
Any number of empty lines, comments, and records.
let lns (record:lens) (comment:lens) = lns_noempty record (comment|empty)
Generic INI File lens
let lns = (empty | comment | global_conf | vrrpd_conf lvs_conf)*
The keepalived lens
let lns = (record | Util.comment Util.empty) *
The login.defs lens
let lns = (empty|comment)* . (defaults|fs_types)*
The mke2fs lens
let lns = (empty | comment database)*
let lns = Shellvars.lns
The pbuilder lens
let lns = (record | Util.comment Util.empty) *
The pg_hba.conf lens
let lns = (empty | comment entry)*
let lns = (empty | comment record)*
The services lens is either empty, comment or record
let lns = (empty | comment shell)*
The shells lens
let lns = (
   empty | comment | cmd_moddir | cmd_kv "rootdev" Rx.fspath | cmd_kv "rootfs" Rx.word | cmd_kv "exclude" Rx.fspath | cmd_kv "include" Rx.fspath | cmd_kv "forceload" Rx.fspath cmd_set
)*
let lns = (empty | comment | includedir | alias | defaults spec)*
The sudoers lens, any amount of
let lns = entries . (program hostname)*
generic entries then programs or hostnames matching blocs
let lns = (empty | comment section)*
The xorg.conf lens
let lns_noempty (record:lens) (comment:lens) = comment* . record*
Generic INI File lens with no empty lines
let loghost = at . [ label "hostname" . store loghost_r ] . (
   colon [ label "port" . store /[0-9]+/ ]
)?
a loghost is an @ sign followed by the hostname and a possible port
let loghost_r = /[a-zA-Z0-9](
   [a-zA-Z0-9-]*[a-zA-Z0-9]
)?(\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?)*/
Matches a hostname, that is labels speparated by dots, labels can’t start or end with a “-”.
Lense for login.defs
let logprogram = pipe . [ label "program" . store /[^ \t\n][^\n]+[^ \t\n]/ ]
a log program begins with a pipe
Parse the config file for lokkit from system-config-firewall
let lvs_conf = virtual_server | virtual_server_group
contains subblocks of Virtual server group(s) and Virtual server(s)
let method = [ label "method" . store Rx.word . ( Sep.tab . option )? ]
can contain an option
let minute = [ label "minute" . store num ]
Parses /etc/mke2fs.conf
let modpath = [ seq "modpath" . store /[^ :\t\n]+/ ]
Individual moddir search path entry
Parses /etc/modprobe.conf and /etc/modprobe.d/*
Parses /etc/modules.conf and /etc/conf.modules
let month = [ label "month" . store alphanum ]
let name = /[^@%\# \t\n][^ \t\n]*/
let named_block (
   kw:string
) (sto:lens) = lens_block (key kw . sep_spc . sto_word) sto
A block with a block title and name
let named_block_arg (
   kw:string
) (name:string) (arg:string) (sto:lens) = lens_block (named_block_arg_title kw name arg) sto
A block with a block title, a name and an argument
let named_block_arg_title (
   kw:string
) (name:string) (arg:string) = key kw . sep_spc . [ label name . sto_word ] . sep_spc . [ label arg . sto_word ]
A title lens for named_block_arg
let nameserver = Build.key_value_line "nameserver" Sep.space (store Rx.ip)
A nameserver entry
let negate_node = [ del "!" "!" . label "negate" ]
Negation of boolean values for defaults.
let netgroup = [ label "netgroup" . Util.del_str "@" . store user_re ]
netgroups begin with @
let netmask = [ label "netmask" . Util.del_str "/" . store Rx.ip ]
A network mask for IP addresses
Parses nagios-nrpe configuration files.
Parses /etc/nsswitch.conf
let num = /[0-9\*][0-9\/,-\*]*/
Close