Augeas Variable Index

O |
| octal, Rx
| opt_hash, Syslog
| opt_plus, Syslog
| opt_space Rx Sep
| opt_tab, Sep
| option, FAI_DiskConfig
| option_kw, Hosts_Access
| options, Test_Authorized_Keys
| optval, Crypttab
P |
| partition, FAI_DiskConfig
| path, Chrony
| percent, Test_Tmpfiles
| percent_tree, Test_Tmpfiles
| period_name_re, Anacron
| phony_conf, Test_Semanage
| pipe, Syslog
| plus, Syslog
| protocol, Syslog
Q |
| qpidc, Test_Qpid
| qpidd, Test_Qpid
| quote, Quote
| quote_opt, Quote
| quote_opt_nil, Quote
| quoted_non_empty_string_val, Xorg
| quoted_string_val, Xorg
R |
| raidoption, FAI_DiskConfig
| ratelimit_options, Chrony
| rbrace, Erlang
| rbrack, Erlang
| rbracket, Sep
| 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_re, IniFile
| refclock_flags, Chrony
| refclock_options, Chrony
| reldecimal, Rx
| release_upgrades, Test_Apt_Update_Manager
| relinteger, Rx
| relinteger_noplus, Rx
| remtypes, Pg_Hba
| resize, FAI_DiskConfig
| rglob, Erlang
| router, Sysconfig_Route

> let octal = /0[0-7]+/

An octal value

> let opt_hash = del /#?/ ""

deletes an optional # sign

> let opt_plus = del /\+?/ ""

deletes an optional + sign

> let opt_space = /[ \t]*/

An optional space or tab

> let opt_space = del Rx.opt_space ""

Deletes a Rx.opt_space and default to an empty string

> let opt_tab = del Rx.opt_space "\t"

Deletes a Rx.opt_space and default to a tab

> let option =

> let option_kw = "severity" | "spawn" | "twist" | "keepalive" | "linger" | "rfc931" | "banners" | "nice" | "setenv" | "umask" | "user" | /allow/i | /deny/i

Since either an option or a shell command can be given, use an explicit list of known options to avoid misinterpreting a command as an option

> let options = "# Example options no-pty ssh-dsa AAAA no-pty ssh-ed25519 AAAA no-pty,command=\"foo\" ssh-dsa AAAA no-pty,command=\"foo bar\" ssh-dsa AAAA no-pty,from=\"example.com,10.1.1.0/16\" ssh-dsa AAAA no-pty,environment=\"LANG=en_GB.UTF8\" ssh-dsa AAAA "

> let optval = /[A-Za-z0-9\/_.:-]+/

> let partition = [ label "partition" . Util.del_str "." . store /[0-9]+/ ]

An optional partition number for disk

> let path = Rx.fspath

> let percent = "m /var/log/%m 2755 root systemdjournal - -\n"

Test with a percent sign

> let percent_tree = { "1" { "type" = "m" } { "path" = "/var/log/%m" } { "mode" = "2755" } { "uid" = "root" } { "gid" = "systemdjournal" } { "age" = "-" } { "argument" = "-" } }

Tree for percent

> let period_name_re = "monthly"

The valid values for period_name.

> let phony_conf = "# this is a comment mykey = myvalue # eol comment anotherkey = another value "

> let pipe = Util.del_str "|"

Deletes a pipe and default to it

> let plus = Util.del_str "+"

Deletes a plus and default to it

> let protocol = /@{1,2}/

means UDP means TCP

> let qpidc = "# Configuration file for the qpid c++ client library. Entries are of # the form: # name=value ssl-cert-db=/root/certs/server_db ssl-port=5674 "

> let qpidd = "# Configuration file for qpidd. Entries are of the form: # name=value # (Note: no spaces on either side of '='). Using default settings: # \"qpidd --help\" or \"man qpidd\" for more details. cluster-mechanism=ANONYMOUS auth=no max-connections=22000 syslog-name=qpidd1 "

> let quote = del /["']/ "\""

A quote, either double or single, default to double

> let quote_opt = del /["']?/ "\""

An optional quote, either double or single, default to double

> let quote_opt_nil = del /["']?/ ""

An optional quote, either double or single, default to nothing

> let quoted_non_empty_string_val = del "\"" "\"" . store /[^"\n]+/ . del "\"" "\""

> let quoted_string_val = del "\"" "\"" . store /[^"\n]*/ . del "\"" "\""

> let raidoption =

> let ratelimit_options = "interval"|"burst"|"leak"

Rate limiting options with values

> let rbrace = "}"

Right square bracket

> let rbrack = "]"

Right curly brackets

> let rbracket = Util.del_str ")"

> 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 = /[^]\r\n]+/

Default regexp for title_label keyword pattern

> let record_re = ( /[^]\r\n\/]+/ - /#comment/ )

Default regexp for title keyword pattern

> let refclock_flags = "noselect"|"pps"|"prefer"|"require"|"tai"|"trust"

refclock options without values

> let refclock_options = "refid"|"lock"|"poll"|"dpoll"|"

refclock options with values

> let reldecimal = /[+-]?[0-9]+([.,][0-9]+)?/

A relative decimal

> let release_upgrades = "# Default behavior for the release upgrader. [DEFAULT] Prompt=lts "

> let relinteger = /[-+]?[0-9]+/

A relative integer

> let relinteger_noplus = /[-]?[0-9]+/

A relative integer, without explicit plus sign

> let remtypes = "host" | "hostssl" | "hostnossl"

non-local connection types

> let resize = tag "resize"

resize tag

> let rglob = "\">>"

Right glob separator

> let router = Rx.ipv4

A router
Close