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
U
 uid, Passwd
 ul1, Test_Xml
 unit, Test_Systemd
 unmatched, Xymon_Alerting
 Up2date
 UpdateDB
 Usage Example
 USEFUL FUNCTIONS, Grub
 Useful primitives, Access
 USEFUL PRIMITIVES
 user
 USER SPECIFICATION, Sudoers
 user_alias, Sudoers
 user_allow_other, Fuse
 user_list, Access
 user_re, Access
 user_record, cgrules
 users
 Util
 Utilities lens, Test_Xml
 Utility variables/functions
V
 val, LVM
 value
 Value types, Erlang
 value_cmd_re, Systemd
 value_list
 value_re
 value_sep
 value_single_re, Systemd
 value_to_eol, Grub
 variable, Inputrc
 Variables, Desktop
 various macros, Syslog
 version_pin, AptPreferences
 Vfstab
 vg_option, FAI_DiskConfig
 videoram, Xorg
 virtual_server, Keepalived
 virtual_server_field, Keepalived
 virtual_server_group, Keepalived
 virtual_server_group_field, Keepalived
 volume
 volume_cryptsetup, FAI_DiskConfig
 volume_full, FAI_DiskConfig
 volume_lvm, FAI_DiskConfig
 volume_or_comment, FAI_DiskConfig
 volume_raid, FAI_DiskConfig
 volume_tmpfs, FAI_DiskConfig
 volume_vg, FAI_DiskConfig
 vpid, Channels
 VRRP CONFIGURATION, Keepalived
 vrrp_instance, Keepalived
 vrrp_instance_field, Keepalived
 vrrp_script, Keepalived
 vrrp_script_field, Keepalived
 vrrp_sync_group, Keepalived
 vrrp_sync_group_field, Keepalived
 vrrpd_conf, Keepalived
 VWware_Config
let uid = [ label "uid" . store integer . colon ]
pw_uid
let ul1 = " <ul> <li>test1</li> <li>test2</li> <li>test3</li> <li>test4</li> </ul> " test Xml.doc get ul1 = { "ul" { "#text" = " " } { "li" { "#text" = "test1" } } { "#text" = " " } { "li" { "#text" = "test2" } } { "#text" = " " } { "li" { "#text" = "test3" } } { "#text" = " " } { "li" { "#text" = "test4" } } }
let unit = "# This file is part of systemd. # # See systemd.special(7) for details .include /etc/example [Unit] Description=Locale Service # Add another file .include /etc/example [Service] ExecStart=/lib/systemd/systemd-localed Type=dbus BusName=org.freedesktop.locale1 CapabilityBoundingSet= "
let unmatched = flag_filters_opt "UNMATCHED"
The unmatched recipient definition
Parses /etc/sysconfig/rhn/up2date
Parses /etc/updatedb.conf
To be documented
To be documented
let user = [ label "user" . ( store user_re | store Rx.word . Util.del_str "@" . [ label "host" . store Rx.word ] ) ]
user can be a username, username@hostname or a group
let user = [ label "user" . store Rx.word ]
let user = comma_sep_list "user"
TODO: support for quoted strings
let user_alias = alias_entry "User_Alias" "user" sto_to_com
User_Alias, see alias_field
let user_allow_other = Build.flag_line "user_allow_other"
let user_list = Build.opt_list (user|group|netgroup) Sep.space
A list of users or netgroups to apply the rule to
let user_re = identifier_re - /[Ee][Xx][Cc][Ee][Pp][Tt]/
Regex for user/netgroup fields
let user_record = generic_record "user" (store name)
Map :omusrmsg: and a list of users, or a single *
let users = label_opt_list_or "user" (store word) comma "*"
a list of users or a “*”
Generic module providing useful primitives
let val = flat_literal | list
Any value that appears on the right hand side of an assignment
let value = any . (Rx.space . any)*
Match any value after “ =”.
let value (kw:regexp) (sto:lens) = [ rspace lbrace . key kw . lrspace comma . sto . lspace rbrace ]
A single value
let value_cmd_re = /[^#@ \t\n\\-][^#@ \t\n\\-][^# \t\n\\]*/
let value_list = Build.opt_list ([ label "value" . store destination]) comma
List of destinations
let value_list (kw:regexp) (sto:lens) = list kw (make_value sto)
A list of seq entries
let value_re = /[^ \t\n](.*[^ \t\n])?/
let value_re = /[^ \t\n;][^\n;]*[^ \t\n;]|[^ \t\n;]/
let value_sep (dflt:string) = del /[ \t]*[ \t=][ \t]*/ dflt
let value_sep = del /[ \t]+|[ \t]*\\\\[ \t]*\n[ \t]*/ " "
Multi-value entries separated by whitespace or backslash and newline
let value_single_re = /[^# \t\n\\][^#\n\\]*[^# \t\n\\]|[^# \t\n\\]/
let value_to_eol = store /[^= \t\n][^\n]*[^= \t\n]|[^= \t\n]/
let variable = [ Util.del_str "set" . Sep.space . key (Rx.word - "entry") . Sep.space . store Rx.word . Util.eol ]
An inputrc variable declaration
let version_pin = pin_gen "version"
Parses Solaris vfstab config file, based on Fstab lens
let vg_option = [ key "pvcreateopts" . Util.del_str "=\"" . store /[^"\n]*/ . Util.del_str "\"" ]
An option for volume_vg
let videoram = entry_int "VideoRam" /[vV]ideo[rR]am/
let virtual_server = named_block_arg "virtual_server" "ip" "port" virtual_server_field
let virtual_server_field = let num_re = "delay_loop" | "persistence_timeout" | "quorum" | "hysteresis" in let word_re = /lb_(algo|kind)/ | "nat_mask" | "protocol" | "persistence_granularity" | "virtualhost" in let flag_re = "ops" | "ha_suspend" | "alpha" | "omega" in let to_eol_re = /quorum_(up|down)/ in let ip_port_re = "sorry_server" in field num_re sto_num | field word_re sto_word | flag flag_re | field to_eol_re sto_to_eol | field ip_port_re ip_port | named_block_arg "real_server" "ip" "port" real_server_field
let virtual_server_group = named_block "virtual_server_group" virtual_server_group_field
let virtual_server_group_field = [ indent . label "vip" . [ ipaddr ] . sep_spc . [ label "port" . sto_num ] . comment_or_eol ]
test FAI_DiskConfig.volume get "primary /boot 20-100 ext3 rw\n" = { "primary" { "mountpoint" = "/boot" } { "size" = "20-100" } { "filesystem" = "ext3" } { "mount_options" { "1" = "rw" } } }
Test FAI_DiskConfig.volume
let volume_cryptsetup = volume_full (key ("swap"|"tmp"|"luks")) device
let volume_full (type:lens) (third_field:lens) =
let volume_lvm = volume_full type_label_lv size (* lvm logical volume: vg name and lv name *) | volume_vg
let volume_or_comment (vol:lens) = (vol|empty|comment)* . vol
A succesion of volumes and comments
let volume_raid = volume_full (key /raid[0156]/) disk_list (* raid level *)
let volume_tmpfs = [ key "tmpfs" . space . mountpoint .space . size . space . mount_options . (space . fs_options)? . eol ]
let volume_vg = [ key "vg" . space . name . space . disk . (space . vg_option)? . eol ]
let vpid = let codec = [ equal . label "codec" . store Rx.integer ] in let vpid_entry (lbl:string) = [ label lbl . store Rx.integer . codec? ] in vpid_entry "vpid" . ( plus . vpid_entry "vpid_pcr" )?
let vrrp_instance = named_block "vrrp_instance" vrrp_instance_field
let vrrp_instance_field = let word_re = "state" | "interface" | "lvs_sync_daemon_interface" in let num_re = "virtual_router_id" | "priority" | "advert_int" | "garp_master_delay" in let to_eol_re = /notify_(master|backup|fault)/ in let flag_re = "smtp_alert" | "nopreempt" | "ha_suspend" | "debug" in field word_re sto_word | field num_re sto_num | field to_eol_re sto_to_eol | flag flag_re | block "authentication" ( field /auth_(type|pass)/ sto_word ) | block "virtual_ipaddress" static_ipaddress_field | block /track_(interface|script)/ ( flag word )
let vrrp_script = named_block "vrrp_script" vrrp_script_field
let vrrp_script_field = let num_re = "interval" | "weight" in let to_eol_re = "script" in field to_eol_re sto_to_eol | field num_re sto_num
let vrrp_sync_group = named_block "vrrp_sync_group" vrrp_sync_group_field
let vrrp_sync_group_field = block "group" [ indent . key word . comment_or_eol ]
let vrrpd_conf = vrrp_sync_group | vrrp_instance | vrrp_script
contains subblocks of VRRP synchronization group(s) and VRRP instance(s)
Parses /etc/vmware/config
Close