diff options
author | Melissa <melissa@puppet.com> | 2018-11-29 14:20:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 14:20:16 -0800 |
commit | 804a857ca2dff197aaf66b4e4aed54fc2b7672f7 (patch) | |
tree | 7c14825a7da510ea6749f954726a78ab9f80cb98 /README.md | |
parent | 569d301af16ad983232a060a5f79b6545e792dc9 (diff) | |
parent | ed9c6e0bde80595451f11f2a361d953765b0fa94 (diff) | |
download | puppet-hosts_core-804a857ca2dff197aaf66b4e4aed54fc2b7672f7.tar.gz puppet-hosts_core-804a857ca2dff197aaf66b4e4aed54fc2b7672f7.tar.bz2 |
Merge pull request #8 from puppetlabs/anchors
Add anchors for l10n
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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. |