This file is indexed.

/usr/share/augeas/lenses/dist/nutnutconf.aug is in nut-client 2.7.1-1ubuntu1.

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
46
47
48
(*
Module: NutNutConf
 Parses /etc/nut/nut.conf

Author: Frederic Bohe  <fredericbohe@eaton.com>

About: License
  This file is licensed under the GPL.

About: Lens Usage
  Sample usage of this lens in augtool

    * Print NUT MODE start-up configuration:
      > print /files/etc/nut/nut.conf/MODE

About: Configuration files
  This lens applies to /etc/nut/nut.conf. See <filter>.
*)

module NutNutConf =
  autoload nut_xfm


(************************************************************************
 * Group:                 NUT.CONF
 *************************************************************************)

(* general *)
let def_sep  = IniFile.sep IniFile.sep_re IniFile.sep_default
let sep_spc  = Util.del_opt_ws ""
let eol      = Util.eol
let comment  = Util.comment
let empty    = Util.empty


let nut_possible_mode = "none"
			| "standalone"
			| "netserver"
			| "netclient"

let nut_mode = [ sep_spc . key "MODE" . def_sep . sep_spc . store nut_possible_mode . eol ]

let nut_lns  = (nut_mode|comment|empty)*

let nut_filter = ( incl "/etc/nut/nut.conf" )
			. Util.stdexcl

let nut_xfm    = transform nut_lns nut_filter