Forge Home

fqdn_underscore

Provides a fqdn_underscore fact that will return the host's fqdn but with underscores instead of dots.

10,239 downloads

10,239 latest version

3.8 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

  • 1.0.0 (latest)
released Nov 30th 2012

Start using this module

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

Add this module to your Puppetfile:

mod 'jtopjian-fqdn_underscore', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jtopjian-fqdn_underscore
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jtopjian-fqdn_underscore --version 1.0.0

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
Tags: facter, hiera, fqdn

Documentation

jtopjian/fqdn_underscore — version 1.0.0 Nov 30th 2012

fqdn_underscore

This is a Puppet fact that returns the fqdn with dots replaced with underscores. For example, www.example.com becomes www_example_com

How To Use

$ facter -p fqdn_underscore