Forge Home


A Puppet module that installs cmake.


10,309 latest version

3.0 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.0.2 (latest)
  • 0.0.1
released Jun 18th 2014
This version is compatible with:
  • Puppet 3.x
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'treydock-cmake', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add treydock-cmake
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install treydock-cmake --version 0.0.2

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.

Tags: cmake, cmake28


treydock/cmake — version 0.0.2 Jun 18th 2014


Build Status

Installs cmake.


  • CentOS 6 x86_64


Class: cmake

Standard usage to install the cmake packages:

class { 'cmake': }

On RedHat based systems, this installs cmake and cmake28.

Parameters for cmake class


The resource ensure parameter, defaults to 'present'.


The packges to install for cmake. Default is OS dependent.

  • RedHat - ['cmake', 'cmake28']


Sets the require parameter for the package resources. A value of 'UNSET' can be used to undefine the require parameter for the package resources. Default is OS dependent.

  • RedHat - Yumrepo[epel]



Testing requires the following dependencies:

  • rake
  • bundler

Install gem dependencies

    bundle install

Run unit tests

    bundle exec rake test

If you have Vagrant >= 1.2.0 installed you can run system tests

bundle exec rake acceptance