Avahi

Avahi module for Augeas

Author: Athir Nuaimi at.nosp@m.hir@nuaim.nosp@m.i.com

avahi-daemon.conf is a standard INI File.

Summary
AvahiAvahi module for Augeas
INI File settingsavahi-daemon.conf only supports “# as commentary and “=” as separator
comment
sep
Entry
entry
Record
title
record
Lens and filter
lns
filter

INI File settings

avahi-daemon.conf only supports “# as commentary and “=” as separator

comment

let comment = IniFile.comment "#" "#"

sep

let sep = IniFile.sep "=" "="

Entry

entry

let entry = IniFile.indented_entry IniFile.entry_re sep comment

Record

title

let title = IniFile.indented_title IniFile.record_re

record

let record = IniFile.record title entry

Lens and filter

lns

let lns = IniFile.lns record comment

filter

let comment = IniFile.comment "#" "#"
let sep = IniFile.sep "=" "="
let entry = IniFile.indented_entry IniFile.entry_re sep comment
let title = IniFile.indented_title IniFile.record_re
let record = IniFile.record title entry
let lns = IniFile.lns record comment
Close