host: Installs and manages host
entries.hostFor most systems, these entries will just be in
/etc/hosts, but some systems (notably OS X) will have
different solutions.
The following properties are available in the host
type.
commentA comment that will be attached to the line with a # character.
ensureValid values: present, absent
The basic property that the resource should be in.
Default value: present
host_aliasesAny aliases the host might have. Multiple values must be specified as an array.
ipThe host's IP address, IPv4 or IPv6.
targetThe file in which to store service information. Only used by those
providers that write to disk. On most systems this defaults to
/etc/hosts.
The following parameters are available in the host
type.
namenamevar
The host name.
providerThe specific backend to use for this host resource. You
will seldom need to specify this --- Puppet will usually discover the
appropriate provider for your platform.