Skip to content

metrixware-echoes-tech/puppet-boost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boost

[Build Status] (https://travis-ci.org/echoes-tech/puppet-boost) [Flattr Button] (https://flattr.com/submit/auto?user_id=echoes&url=https://forge.puppetlabs.com/echoes/boost&title=Puppet%20module%20to%20manage%20Boost&description=This%20module%20installs%20Boost.&lang=en_GB&category=software "Puppet module to manage Boost installation")

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with boost
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module
  8. Contributors

Overview

Puppet module to manage Boost installation.

Module Description

This module installs Boost libraries.

Setup

Beginning with boost

class { 'boost':
  packages => {
    'signals' => {},
    'system' => {},
  }
}

Usage

Install header packages

class { 'boost':
  devel    => true,
  packages => {
    'signals' => {},
    'system' => {},
  }
}

Install all headers packages and the documentation

class { 'boost':
  all_devel => true,
  doc       => true,
}

Uninstall a Boost library

class { 'boost':
  packages => {
    'signals' => {
      ensure => 'absent',
    },
  }
}

Reference

Classes

Public Classes

  • boost: Main class, includes all other classes.

Private Classes

  • boost::install: Handles the packages.

Parameters

The following parameters are available in the ::boost class:

package_ensure

Tells Puppet whether the Boost packages should be installed, and what version. Valid options: 'present', 'latest', or a specific version number. Default value: 'present'

packages

Tells Puppet which Boost libraries to install. Valid options: hash. Default value: {}

prefix

Tells Puppet what is the first part of Boost packages name. Valid options: string. Default value: varies by operating system

suffix

Tells Puppet what is the last part of Boost packages name. Valid options: string. Default value: varies by operating system

suffix_dev

Tells Puppet what is the last part of Boost header packages name. Valid options: string. Default value: varies by operating system

version

Tells Puppet what is the version part of the Boost packages name. Only needed for Debian family OSes. Valid options: string. Default value: varies by operating system

Defines

Public defines

  • boost::package: Adds a Boost librarie.

Parameters

The following parameters are available in the ::boost::package define:

devel

Tells Puppet whether the Boost header package should be installed. Valid options: boolean. Default value: false

ensure

Tells Puppet whether the Boost package should be installed, and what version. Valid options: 'present', 'latest', or a specific version number. Default value: 'present'

prefix

Tells Puppet what is the first part of the Boost package name. Valid options: string. Default value: undef

suffix

Tells Puppet what is the last part of the Boost package name. Valid options: string. Default value: undef

suffix_dev

Tells Puppet what is the last part of the Boost header package name. Valid options: string. Default value: undef

version

Tells Puppet what is the version part of the Boost package name. Only needed for Debian family OSes. Valid options: string. Default value: undef

Limitations

RedHat and Debian family OSes are officially supported. Tested and built on Debian and CentOS.

Development

Echoes Technologies modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great.

Fork this module on GitHub

Contributors

The list of contributors can be found at: https://github.com/echoes-tech/puppet-boost/graphs/contributors