diff options
| author | Josh Cooper <josh@puppet.com> | 2018-07-13 09:38:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-13 09:38:02 -0700 |
| commit | bd20d920a19e9b011dfd027a802985cea46ae04f (patch) | |
| tree | f882cd2b7c31ae08cd242882b0f7f1d1ed89cbbd /REFERENCE.md | |
| parent | 9d96ddecea6367abee1aa77859848b0c158fca80 (diff) | |
| parent | c957642d70f4b778736a9b49cf1ef9702e42c4f1 (diff) | |
| download | puppet-hosts_core-bd20d920a19e9b011dfd027a802985cea46ae04f.tar.gz puppet-hosts_core-bd20d920a19e9b011dfd027a802985cea46ae04f.tar.bz2 | |
Merge pull request #1 from puppetlabs/extraction
Initial host module extraction
Diffstat (limited to 'REFERENCE.md')
| -rw-r--r-- | REFERENCE.md | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/REFERENCE.md b/REFERENCE.md new file mode 100644 index 0000000..613a4df --- /dev/null +++ b/REFERENCE.md @@ -0,0 +1,57 @@ +# Reference +<!-- DO NOT EDIT: This document was generated by Puppet Strings --> + +## Table of Contents + +**Resource types** + +* [`host`](#host): Installs and manages host entries. For most systems, these entries will just be in `/etc/hosts`, but some systems (notably OS X) will have d + +## Resource types + +### host + +Installs and manages host entries. For most systems, these +entries will just be in `/etc/hosts`, but some systems (notably OS X) +will have different solutions. + +#### Properties + +The following properties are available in the `host` type. + +##### `ensure` + +Valid values: present, absent + +The basic property that the resource should be in. + +Default value: present + +##### `ip` + +The host's IP address, IPv4 or IPv6. + +##### `host_aliases` + +Any aliases the host might have. Multiple values must be +specified as an array. + +##### `comment` + +A comment that will be attached to the line with a # character. + +##### `target` + +The file in which to store service information. Only used by +those providers that write to disk. On most systems this defaults to `/etc/hosts`. + +#### Parameters + +The following parameters are available in the `host` type. + +##### `name` + +namevar + +The host name. + |
