This module is suitable mostly for small groups of hosts without private DNS
resolver nearby. It updates
/etc/hosts file from template and add host
entries grouped by environment to it.
Warning: Host entries not managed by Puppet will be erased on install (and template version updete).
- puppet_ip - Puppet host IP address (extlookup() variable)
/etc/hosts with template file and add all hosts from node
$environment to it.
hosts class but import all host resources. Suitable for puppet
master host or other all-environment nodes.
/etc/hosts with template file, do not import resources.
Parameters for this module such as template version.
Change it if you need to trigger
/etc/hosts file update on nodes.
$puppet_ip variable is pupulated by call to extlookup() function.
Please change it to other data source as needed.