aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelissa <melissa@puppet.com>2018-11-29 14:20:16 -0800
committerGitHub <noreply@github.com>2018-11-29 14:20:16 -0800
commit804a857ca2dff197aaf66b4e4aed54fc2b7672f7 (patch)
tree7c14825a7da510ea6749f954726a78ab9f80cb98
parent569d301af16ad983232a060a5f79b6545e792dc9 (diff)
parented9c6e0bde80595451f11f2a361d953765b0fa94 (diff)
downloadpuppet-hosts_core-804a857ca2dff197aaf66b4e4aed54fc2b7672f7.tar.gz
puppet-hosts_core-804a857ca2dff197aaf66b4e4aed54fc2b7672f7.tar.bz2
Merge pull request #8 from puppetlabs/anchors
Add anchors for l10n
-rw-r--r--README.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index 88011b0..5d28bf7 100644
--- a/README.md
+++ b/README.md
@@ -4,14 +4,17 @@
#### Table of Contents
1. [Description](#description)
-2. [Reference](#reference)
-3. [Development - Guide for contributing to the module](#development)
+2. [Usage](#usage)
+3. [Reference](#reference)
+4. [Development - Guide for contributing to the module](#development)
+<a id="description"></a>
## Description
The host_core module is used to manage host entries in a hosts file. For most systems, the hosts file is located in `/etc/hosts`.
-### Beginning with host_core
+<a id="usage"></a>
+## Usage
To configure a `localhost` host entry to resolve to an `ip` with a list of `host_aliases`, use the following code:
@@ -24,9 +27,10 @@ host { 'localhost':
}
```
+<a id="reference"></a>
## Reference
-Please see [`REFERENCE.md`](REFERENCE.md) for the reference documentation.
+Please see REFERENCE.md for the reference documentation.
This module is documented using Puppet Strings.
@@ -39,6 +43,7 @@ bundle exec puppet strings generate ./lib/**/*.rb
```
This command will create a browsable `_index.html` file in the `doc` directory. The references available here are all generated from YARD-style comments embedded in the code base. When any development happens on this module, the impacted documentation should also be updated.
+<a id="development"></a>
## Development
Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can't access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.