/usr/share/augeas/lenses/dist/avahi.aug is in augeas-lenses 1.10.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | (*
Module: Avahi
Avahi module for Augeas
Author: Athir Nuaimi <athir@nuaimi.com>
avahi-daemon.conf is a standard INI File.
*)
module Avahi =
autoload xfm
(************************************************************************
* Group: INI File settings
* avahi-daemon.conf only supports "# as commentary and "=" as separator
*************************************************************************)
(* View: comment *)
let comment = IniFile.comment "#" "#"
(* View: sep *)
let sep = IniFile.sep "=" "="
(************************************************************************
* Group: Entry
*************************************************************************)
(* View: entry *)
let entry = IniFile.indented_entry IniFile.entry_re sep comment
(************************************************************************
* Group: Record
*************************************************************************)
(* View: title *)
let title = IniFile.indented_title IniFile.record_re
(* View: record *)
let record = IniFile.record title entry
(************************************************************************
* Group: Lens and filter
*************************************************************************)
(* View: lns *)
let lns = IniFile.lns record comment
(* View: filter *)
let filter = (incl "/etc/avahi/avahi-daemon.conf")
let xfm = transform lns filter
|