Forge Home

diskspace

Facts for diskspace used and free

38,501 downloads

22,242 latest version

4.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

  • 0.2.0 (latest)
  • 0.1.1
  • 0.1.0
released Feb 6th 2018
This version is compatible with:
  • , , , , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'WhatsARanjit-diskspace', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add WhatsARanjit-diskspace
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install WhatsARanjit-diskspace --version 0.2.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

Documentation

WhatsARanjit/diskspace — version 0.2.0 Feb 6th 2018

Diskspace facts

Overview

Creates facts for diskspace use and free space. Special characters will be omitted from fact names. Filesystems entitled / will be listed as root instead.

Examples

*nix style systems

# facter -p | grep diskspace
diskspace_boot => 35
diskspace_dev => 1
diskspace_root => 42
diskspacefree_boot => 65
diskspacefree_dev => 99
diskspacefree_root => 58
diskspacefreekb_boot => 150679
diskspacefreekb_dev => 32962772
diskspacefreekb_root => 27438040
diskspacetotalkb_boot => 240780
diskspacetotalkb_dev => 32962776
diskspacetotalkb_root => 49181880

Windows systems

C:\>facter -p | find "diskspace"
diskspace_c => 17
diskspacefree_c => 83
diskspacefreekb_c => 69533888