Forge Home

hostint

Host Interface Fact

11,073 downloads

9,820 latest version

3.5 quality score

Version information

  • 2.1.0 (latest)
  • 2.0.2
  • 2.0.0
  • 0.0.1
released Dec 8th 2012

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'panaman-hostint', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add panaman-hostint
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install panaman-hostint --version 0.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

panaman/hostint — version 0.0.1 Dec 8th 2012

hostint

This is the hostint module.

License

Apache License, Version 2.0

Contact

Panaman panaman@geekempire.com

Support

Please log tickets and issues at (http://www.thunderpoop.com)

Description

Custom Fact for the host interface on a machine. It finds the interface based on the gateway of netstat -rn. Works on FreeBSD, RedHat, Ubuntu and probably others. I've found it extremely helpful building NSM servers and configure iptables. You can specify the variable <%= hostint %> in your puppet templates.