Forge Home


Puppet Module for common things


8,932 latest version

3.8 quality score

Version information

  • 0.1.6 (latest)
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Apr 12th 2016

Start using this module

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

Add this module to your Puppetfile:

mod 'sjoeboo-puppet_common', '0.1.6'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add sjoeboo-puppet_common
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install sjoeboo-puppet_common --version 0.1.6

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.



sjoeboo/puppet_common — version 0.1.6 Apr 12th 2016


Most just facts I tend to want around in puppet deployments?



contains the hostname of the node, with trailing digits stripped.

[root@puppetmaster01 facter]# facter -p |grep hostname_base
hostname_base => puppetmaster


RedHat/Centos Finds out when the basesystem rpm was installed and turns that into a installation date. Will not work well on systems build from a golden image!

born_on => 2016-03-08


Finds the classes.txt file, and parses it into an array of classes on the system as of the last puppet run. roles and profiles get dropped from this list.


A copy of classes without roles or profiles remove, aka, the whole shebang


Takes classes fact and extracts classes starting with role


Takes classes fact and extracts classes starting with profile


RedHat/CentOS Generates a md5sum of the installed packages. Allows you to quickly compare one system to another or check that 2 systems have identical packages (names and versions) installed.