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
R
 raidoption, FAI_DiskConfig
 rbracket, Keepalived
 reaction, Nsswitch
 real_server_field, Keepalived
 record
 RECORD
 Record definition, IniFile
 RECORD TYPES, Mke2fs
 record_ace, Test_IniFile
 record_acf, Test_IniFile
 record_ade, Test_IniFile
 record_adf, Test_IniFile
 record_bce, Test_IniFile
 record_bcf, Test_IniFile
 record_bde, Test_IniFile
 record_bdf, Test_IniFile
 record_label_re, IniFile
 record_local, Pg_Hba
 record_noempty, IniFile
 record_re, IniFile
 record_remote, Pg_Hba
 RECORDS
 Records definitions, Pg_Hba
 Reference
 References, Kdump
 remtypes, Pg_Hba
 Reprepro_Uploaders
 resize, FAI_DiskConfig
 Resolv
 runas_alias, Sudoers
 runas_spec, Sudoers
 Rx
let raidoption =
let rbracket = Util.del_str "}"
let reaction = let status_kw = /[Ss][Uu][Cc][Cc][Ee][Ss][Ss]/ | /[Nn][Oo][Tt][Ff][Oo][Uu][Nn][Dd]/ | /[Uu][Nn][Aa][Vv][Aa][Ii][Ll]/ | /[Tt][Rr][Yy][Aa][Gg][Aa][Ii][Nn]/ in let action_kw = /[Rr][Ee][Tt][Uu][Rr][Nn]/ | /[Cc][Oo][Nn][Tt][Ii][Nn][Uu][Ee]/ in let negate = [ Util.del_str "!" . label "negate" ] in let reaction_entry = [ label "status" . negate? . store status_kw . Util.del_str "=" . [ label "action" . store action_kw ] ] in Util.del_str "[" . [ label "reaction" . (Build.opt_list reaction_entry Sep.space) ] . Util.del_str "]"
The reaction on lookup result like `[NOTFOUND=return]’ TODO: Use case-insensitive regexps when ticket #147 is fixed.
let real_server_field = field "weight" sto_num | block "TCP_CHECK" tcp_check_field
let record = [ seq "entry" . [ label "target" . store target ] . sep_tab . [ label "device" . store fspath ] . (sep_tab . [ label "password" . store fspath ] . ( sep_tab . comma_sep_list "opt")? )? . eol ]
A crypttab record
let record = let moreusers = Build.opt_list [ label "moreusers" . store word ] Sep.comma in [ seq "host" . [ label "host" . store word ] . Util.del_ws_tab . [ label "dhcp" . store word ] . Util.del_ws_tab . [ label "user" . store word ] . (Util.del_ws_tab . moreusers)? . (Util.comment|Util.eol) ]
let record = [ key keyword . (sep_spc . store word)? . eol ]
Keyword, followed by optional whitespace and value, followed by EOL.
let record (title:lens) (entry:lens) = record_noempty title ( entry | empty )
Generic INI File record
let record = let value = store /[^ \t\n]+([ \t]+[^ \t\n]+)*/ in [ key Rx.word . Sep.space . value . Util.eol ]
A login.defs record
let record = [ key word . (Util.del_ws_tab . Modprobe.sto_to_eol)? . Util.eol ]
let record = [ seq "entries" . (record_local | record_remote) . eol ]
A sequence of record_local or record_remote entries
let record = IniFile.record title entry
An IniFile.record
let record = [ label "service-name" . store word_re . sep_spc . port . del "/" "/" . protocol . ( sep_spc . alias )* . comment_or_eol ]
A standard /etc/services record TODO: make sure a space is added before a comment on new nodes
let record_ace = IniFile.record title_ace entry_ace
let record_acf = IniFile.record_noempty title_acf entry_acf
let record_ade = IniFile.record title_ade entry_ade
let record_adf = IniFile.record_noempty title_adf entry_adf
let record_bce = IniFile.record title_bce entry_bce
let record_bcf = IniFile.record_noempty title_bce entry_bcf
let record_bde = IniFile.record title_bde entry_bde
let record_bdf = IniFile.record_noempty title_bdf entry_bdf
let record_label_re = /[^]\n]+/
Default regexp for title_label keyword pattern
let record_local = [ label "type" . store "local" ] . Sep.tab . database . Sep.tab . user . Sep.tab . method
when type is “local”, there is no “address” field
let record_noempty (title:lens) (entry:lens) = [ title . entry* ]
INI File Record with no empty lines allowed.
let record_re = ( /[^]\n\/]+/ - /#comment/ )
Default regexp for title keyword pattern
let record_remote = [ label "type" . store remtypes ] . Sep.tab . database . Sep.tab . user . Sep.tab . address . Sep.tab . method
Some examples of valid entries can be found in access.conf or “man access.conf”
This lens tries to keep as close as possible to `man 5 aliases` where possible.
This lens tries to keep as close as possible to `man 5 approx.conf` where possible.
This lens tries to keep as close as possible to `man 5 apt.conf` where possible.
This lens tries to keep as close as possible to `man backuppc` where possible.
This file provides generic functions to build Augeas lenses
This lens tries to keep as close as possible to `man 5 crontab` where possible.
http://augeas.net/page/Create_a_lens_from_bottom_to_top http://www.debian.org/doc/debian-policy/ch-controlfields.html
Reference: manual of dhcpd.conf and dhcp-eval Follow dhclient module for tree structure
http://wiki.fai-project.org/wiki/Setup-storage#New_configuration_file_syntax
This lens tries to keep as close as possible to `man 5 host.conf` where possible.
This lens tries to keep as close as possible to `man 5 hosts_access` where possible.
This lens tries to keep as close as possible to `man 5 keepalived.conf` where possible.
This lens tries to keep as close as possible to `man 5 mke2fs.conf` where possible.
This lens tries to keep as close as possible to `man 5 modprobe.conf` where possible.
This lens tries to keep as close as possible to `man 5 modules` where possible.
This lens tries to keep as close as possible to `man 5 networks` where possible.
This lens tries to keep as close as possible to `man nsswitch.conf` where possible.
Pbuilderrc is a standard shellvars file.
http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html
This lens tries to keep as close as possible to `man 1 reprepro` where possible.
This lens tries to keep as close as possible to `man resolv.conf` where possible.
This lens tries to keep as close as possible to `man 5 schroot.conf` where possible.
This lens tries to keep as close as possible to ‘man services’ where possible.
This lens tries to keep as close as possible to `man 5 shells` where possible.
This lens tries to keep as close as possible to `man 4 system` where possible.
ssh_config man page
sshd_config man page.
This lens tries to keep as close as possible to `man sudoers` where possible.
This lens tries to keep as close as possible to `man 5 resolv.conf` where possible.
This lens tries to keep as close as possible to `man xorg.conf` where possible.
manual page kdump.conf(5)
let remtypes = "host" | "hostssl" | "hostnossl"
non-local connection types
Parses reprepro’s uploaders files
let resize = tag "resize"
resize tag
Parses /etc/resolv.conf
let runas_alias = alias_entry "Runas_Alias" "runas_user" sto_to_com
Run_Alias, see alias_field
let runas_spec_user = alias_list "runas_user" sto_to_com
A runas specification for spec, using alias_list for listing users and/or groups used to run a command
Generic regexps to build lenses
Close