This file is indexed.

/usr/share/doc/augeas-doc/lenses/files/host_conf-aug.html is in augeas-doc 0.10.0-1.

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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Host_Conf - Augeas Documentation</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.51 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CAugeasModule"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Host_Conf"></a>Host_Conf</h1><div class=CBody><p>Parses /etc/host.conf</p><p>Author: Raphael Pinson <a href="#" onClick="location.href='mai' + 'lto:' + 'rap' + 'hink' + '@' + 'gmai' + 'l.com'; return false;" class=LEMail>rap<span style="display: none">.nosp@m.</span>hink<span>@</span>gmai<span style="display: none">.nosp@m.</span>l.com</a></p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#Host_Conf" >Host_Conf</a></td><td class=SDescription>Parses /etc/host.conf</td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#Host_Conf.Reference" >Reference</a></td><td class=SDescription>This lens tries to keep as close as possible to `man 5 host.conf` where possible.</td></tr><tr class="SGeneric SIndent1"><td class=SEntry><a href="#Host_Conf.License" >License</a></td><td class=SDescription>This file is licenced under the LGPLv2+, like the rest of Augeas.</td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#Host_Conf.Lens_Usage" >Lens Usage</a></td><td class=SDescription>To be documented</td></tr><tr class="SGeneric SIndent1"><td class=SEntry><a href="#Host_Conf.Configuration_files" >Configuration files</a></td><td class=SDescription>This lens applies to /etc/host.conf. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Host_Conf.ENTRY_TYPES" >ENTRY TYPES</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#Host_Conf.sto_bool" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">sto_bool</a></td><td class=SDescription>Store a boolean value</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#Host_Conf.sto_bool_warn" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">sto_bool_warn</a></td><td class=SDescription>Store a boolean value</td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#Host_Conf.bool" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">bool</a></td><td class=SDescription>A boolean switch</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#Host_Conf.bool_warn" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">bool_warn</a></td><td class=SDescription>A boolean switch with extended values</td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#Host_Conf.list" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">list</a></td><td class=SDescription>A list of items</td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#Host_Conf.trim" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">trim</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#Host_Conf.entry" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">entry</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Host_Conf.LENS_AND_FILTER" >LENS AND FILTER</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2 SMarked"><td class=SEntry><a href="#Host_Conf.lns" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">lns</a></td><td class=SDescription></td></tr><tr class="SAugeasLens SIndent2"><td class=SEntry><a href="#Host_Conf.filter" >filter</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.Reference"></a>Reference</h3><div class=CBody><p>This lens tries to keep as close as possible to `man 5 host.conf` where possible.</p></div></div></div>

<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.License"></a>License</h3><div class=CBody><p>This file is licenced under the LGPLv2+, like the rest of Augeas.</p></div></div></div>

<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.Lens_Usage"></a>Lens Usage</h3><div class=CBody><p>To be documented</p></div></div></div>

<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.Configuration_files"></a>Configuration files</h3><div class=CBody><p>This lens applies to /etc/host.conf.&nbsp; See <a href="#Host_Conf.filter" class=LAugeasLens >filter</a>.</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.ENTRY_TYPES"></a>ENTRY TYPES</h3></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.sto_bool"></a>sto_bool</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_bool = store (&quot;on&quot;|&quot;off&quot;)
</td></tr></table></blockquote><p>Store a boolean value</p></div></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.sto_bool_warn"></a>sto_bool_warn</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_bool_warn = store (&quot;on&quot;|&quot;off&quot;|&quot;warn&quot;|&quot;nowarn&quot;)
</td></tr></table></blockquote><p>Store a boolean value</p></div></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.bool"></a>bool</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let bool (kw:regexp) = Build.key_value_line kw Sep.space sto_bool
</td></tr></table></blockquote><p>A boolean switch</p></div></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.bool_warn"></a>bool_warn</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let bool_warn (kw:regexp) = Build.key_value_line kw Sep.space sto_bool_warn
</td></tr></table></blockquote><p>A boolean switch with extended values</p></div></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.list"></a>list</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let list (kw:regexp) (elem:string) =
  let list_elems = Build.opt_list [seq elem . store Rx.word] (Sep.comma) in
  Build.key_value_line kw Sep.space list_elems
</td></tr></table></blockquote><p>A list of items</p></div></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.trim"></a>trim</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let trim =
  let trim_list = Build.opt_list [seq &quot;trim&quot; . store Rx.word] (del /[:;,]/ &quot;:&quot;) in
  Build.key_value_line &quot;trim&quot; Sep.space trim_list
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.entry"></a>entry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry = bool (&quot;multi&quot;|&quot;nospoof&quot;|&quot;spoofalert&quot;|&quot;reorder&quot;)
          | bool_warn &quot;spoof&quot;
          | list &quot;order&quot; &quot;order&quot;
          | trim
</td></tr></table></blockquote></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.LENS_AND_FILTER"></a>LENS AND FILTER</h3></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.lns"></a>lns</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns = ( Util.empty | Util.comment | entry )*
</td></tr></table></blockquote></div></div></div>

<div class="CAugeasLens"><div class=CTopic><h3 class=CTitle><a name="Host_Conf.filter"></a>filter</h3></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>Augeas Documentation<div class=MSubTitle>Modules</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Main Site</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MLink><a href="/index.html">Main</a></div></div><div class=MEntry><div class=MLink><a href="/docs/index.html">Documentation</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Specific Modules</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="access-aug.html">Access</a></div></div><div class=MEntry><div class=MFile><a href="aliases-aug.html">Aliases</a></div></div><div class=MEntry><div class=MFile><a href="approx-aug.html">Approx</a></div></div><div class=MEntry><div class=MFile><a href="aptconf-aug.html">AptConf</a></div></div><div class=MEntry><div class=MFile><a href="backuppchosts-aug.html">BackupPCHosts</a></div></div><div class=MEntry><div class=MFile><a href="cgconfig-aug.html">Cgconfig</a></div></div><div class=MEntry><div class=MFile><a href="cgrules-aug.html">Cgrules</a></div></div><div class=MEntry><div class=MFile><a href="cron-aug.html">Cron</a></div></div><div class=MEntry><div class=MFile><a href="crypttab-aug.html">crypttab.aug</a></div></div><div class=MEntry><div class=MFile><a href="debctrl-aug.html">Debctrl</a></div></div><div class=MEntry><div class=MFile><a href="desktop-aug.html">Desktop</a></div></div><div class=MEntry><div class=MFile><a href="dhcpd-aug.html">Dhcpd</a></div></div><div class=MEntry><div class=MFile><a href="dpkg-aug.html">Dpkg</a></div></div><div class=MEntry><div class=MFile><a href="exports-aug.html">Exports</a></div></div><div class=MEntry><div class=MFile><a href="fai_diskconfig-aug.html">FAI_DiskConfig</a></div></div><div class=MEntry><div class=MFile><a href="grub-aug.html">Grub</a></div></div><div class=MEntry><div class=MFile><a href="hostname-aug.html">Hostname</a></div></div><div class=MEntry><div class=MFile><a href="hosts_access-aug.html">Hosts_Access</a></div></div><div class=MEntry><div class=MFile id=MSelected>Host_Conf</div></div><div class=MEntry><div class=MFile><a href="iptables-aug.html">Iptables</a></div></div><div class=MEntry><div class=MFile><a href="kdump-aug.html">Kdump</a></div></div><div class=MEntry><div class=MFile><a href="keepalived-aug.html">Keepalived</a></div></div><div class=MEntry><div class=MFile><a href="login_defs-aug.html">Login_defs</a></div></div><div class=MEntry><div class=MFile><a href="lokkit-aug.html">Lokkit</a></div></div><div class=MEntry><div class=MFile><a href="mke2fs-aug.html">Mke2fs</a></div></div><div class=MEntry><div class=MFile><a href="modprobe-aug.html">Modprobe</a></div></div><div class=MEntry><div class=MFile><a href="modules-aug.html">Modules</a></div></div><div class=MEntry><div class=MFile><a href="modules_conf-aug.html">Modules_conf</a></div></div><div class=MEntry><div class=MFile><a href="nagioscfg-aug.html">NagiosCfg</a></div></div><div class=MEntry><div class=MFile><a href="nagiosobjects-aug.html">NagiosObjects</a></div></div><div class=MEntry><div class=MFile><a href="networks-aug.html">Networks</a></div></div><div class=MEntry><div class=MFile><a href="nrpe-aug.html">Nrpe</a></div></div><div class=MEntry><div class=MFile><a href="nsswitch-aug.html">Nsswitch</a></div></div><div class=MEntry><div class=MFile><a href="pbuilder-aug.html">Pbuilder</a></div></div><div class=MEntry><div class=MFile><a href="pg_hba-aug.html">Pg_Hba</a></div></div><div class=MEntry><div class=MFile><a href="puppetfileserver-aug.html">PuppetFileserver</a></div></div><div class=MEntry><div class=MFile><a href="reprepro_uploaders-aug.html">Reprepro_Uploaders</a></div></div><div class=MEntry><div class=MFile><a href="resolv-aug.html">Resolv</a></div></div><div class=MEntry><div class=MFile><a href="schroot-aug.html">Schroot</a></div></div><div class=MEntry><div class=MFile><a href="services-aug.html">Services</a></div></div><div class=MEntry><div class=MFile><a href="shells-aug.html">Shells</a></div></div><div class=MEntry><div class=MFile><a href="solaris_system-aug.html">Solaris_System</a></div></div><div class=MEntry><div class=MFile><a href="ssh-aug.html">Ssh</a></div></div><div class=MEntry><div class=MFile><a href="sshd-aug.html">Sshd</a></div></div><div class=MEntry><div class=MFile><a href="sudoers-aug.html">Sudoers</a></div></div><div class=MEntry><div class=MFile><a href="syslog-aug.html">Syslog</a></div></div><div class=MEntry><div class=MFile><a href="xinetd-aug.html">Xinetd</a></div></div><div class=MEntry><div class=MFile><a href="xorg-aug.html">Xorg</a></div></div><div class=MEntry><div class=MFile><a href="shellvars-aug.html">Shellvars</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Generic Modules</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="build-aug.html">Build</a></div></div><div class=MEntry><div class=MFile><a href="inifile-aug.html">IniFile</a></div></div><div class=MEntry><div class=MFile><a href="rx-aug.html">Rx</a></div></div><div class=MEntry><div class=MFile><a href="sep-aug.html">Sep</a></div></div><div class=MEntry><div class=MFile><a href="util-aug.html">Util</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Tests and Examples</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="tests/test_access-aug.html">Test_Access</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_approx-aug.html">Test_Approx</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_aliases-aug.html">Test_Aliases</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_reprepro_uploaders-aug.html">Test_Reprepro_Uploaders</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_inifile-aug.html">Test_IniFile</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_keepalived-aug.html">Test_Keepalived</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_login_defs-aug.html">Test_login_defs</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_xml-aug.html">Test_Xml</a></div></div><div class=MEntry><div class=MFile><a href="tests/test_fai_diskconfig-aug.html">Test_FAI_DiskConfig</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Index</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MIndex><a href="../index/AugeasLenses.html">Lenses</a></div></div><div class=MEntry><div class=MIndex><a href="../index/AugeasModules.html">Modules</a></div></div><div class=MEntry><div class=MIndex><a href="../index/AugeasVariables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="../index/AugeasTests.html">Tests</a></div></div><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="AugeasLenses">Augeas Lenses</option><option value="AugeasModules">Augeas Modules</option><option value="AugeasTests">Augeas Tests</option><option value="AugeasVariables">Augeas Variables</option><option value="Files">Files</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([2], 6);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_bool = store (&quot;on&quot;|&quot;off&quot;)
</td></tr></table></blockquote>Store a boolean value</div></div><div class=CToolTip id="tt2"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let sto_bool_warn = store (&quot;on&quot;|&quot;off&quot;|&quot;warn&quot;|&quot;nowarn&quot;)
</td></tr></table></blockquote>Store a boolean value</div></div><div class=CToolTip id="tt3"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let bool (kw:regexp) = Build.key_value_line kw Sep.space sto_bool
</td></tr></table></blockquote>A boolean switch</div></div><div class=CToolTip id="tt4"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let bool_warn (kw:regexp) = Build.key_value_line kw Sep.space sto_bool_warn
</td></tr></table></blockquote>A boolean switch with extended values</div></div><div class=CToolTip id="tt5"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let list (kw:regexp) (elem:string) =
  let list_elems = Build.opt_list [seq elem . store Rx.word] (Sep.comma) in
  Build.key_value_line kw Sep.space list_elems
</td></tr></table></blockquote>A list of items</div></div><div class=CToolTip id="tt6"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let trim =
  let trim_list = Build.opt_list [seq &quot;trim&quot; . store Rx.word] (del /[:;,]/ &quot;:&quot;) in
  Build.key_value_line &quot;trim&quot; Sep.space trim_list
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt7"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let entry = bool (&quot;multi&quot;|&quot;nospoof&quot;|&quot;spoofalert&quot;|&quot;reorder&quot;)
          | bool_warn &quot;spoof&quot;
          | list &quot;order&quot; &quot;order&quot;
          | trim
</td></tr></table></blockquote></div></div><div class=CToolTip id="tt8"><div class=CAugeasLens><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">let lns = ( Util.empty | Util.comment | entry )*
</td></tr></table></blockquote></div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>