Forge Home


Host Interface Fact


10,147 latest version

3.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

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.



panaman/hostint — version 0.0.1 Dec 8th 2012


This is the hostint module.


Apache License, Version 2.0




Please log tickets and issues at (


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.