- Description
- Setup - The basics of getting started with lmhosts
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module manages the lmhosts
file.
The lmhosts
file allows certain information about your Windows network to be
pre-loaded without performing any network lookups.
For use with r10k
or
g10k
, add an entry to your
Puppetfile
as follows:
mod lmhosts,
:git -> 'https://github.com/pillarsdotnet/lmhosts'
For use with another module, add a dependency to its
metadata.json
file:
"dependencies": [
{
"name" : "pillarsdotnet/lmhosts",
"version_requirement": ">= 0.0.1 < 1.0.0"
},
]
For Windows clients, the
puppet/windows_env
module is required. Non-windows clients may ignore this dependency.
This will create an lmhosts file containing an entry for localhost
, plus one
host entry for each node in the catalog.
include ::lmhosts
lmhosts::list:
- address: '127.0.0.1'
host: 'localhost'
- address: '10.0.0.100'
host: 'corp-pdc'
include ::lmhosts
See REFERENCE.md
.
Submit bug-reports, issues, and pull-requests to https://github.com/pillarsdotnet/puppet-lmhosts.
See CHANGELOG.md
.