add_hosts_entry
Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x
- Puppet >= 6.0.0 < 7.0.0
- , , , , , , , , , ,
Tasks:
- hosts_update
Start using this module
Add this module to your Puppetfile:
mod 'martyewings-add_hosts_entry', '0.1.1'
Learn more about managing modules with a PuppetfileDocumentation
add_hosts_entry
This Module Provides a Task that allows you to set hostfile entries in remote Windows and Linux Hosts.
This is Useful when adding nodes to Management In Puppet enterprise, that do not have DNS configured and can not resolve the Master FQDN. This task can be run prior to the the task pe_bootstrap Via Bolt and targetted at SSH or WINRM inventory to add the master ip and fqdn to the local hosts file
Table of Contents
Description
This Module Provides a Task that allows you to set hostfile entries in remote Windows and Linux Hosts.
This is Useful when adding nodes to Management In Puppet enterprise, that do not have DNS configured and can not resolve the Master FQDN. This task can be run prior to the the task pe_bootstrap Via Bolt and targetted at SSH or WINRM inventory to add the master ip and fqdn to the local hosts file
Beginning with add_hosts_entry
This Task has two mandatory parameters:
m_ip - the Ipaddress you wish to add to the target hosts file
m_host - the FQDN associated with the ip in m_ip
In an example where m_ip = 10.10.10.1 and m_host = master.puppet.com
the following would be printed on a new line in your hosts file:
"10.10.10.1 master.puppet.com"
What are tasks?
Modules can contain tasks that take action outside of a desired state managed by Puppet. It’s perfect for troubleshooting or deploying one-off changes, distributing scripts to run across your infrastructure, or automating changes that need to happen in a particular order as part of an application deployment.
Tasks in this module release
Changelog
All notable changes to this project will be documented in this file.
Release 0.1.1
Removed stray JSON file affecting powershell
Release 0.1.0
Features
Bugfixes
Known Issues
This release only uses cross platform task metadata, this means older bolt task runners, or that in PE less that 2019.0.0 are not compatible