bi_ndenv

Puppet management for ndenv
Bounded Infinity

Bounded Infinity

bi

9,340 downloads

7,351 latest version

2.8 quality score

Version information

  • 0.0.16 (latest)
  • 0.0.15
  • 0.0.14
  • 0.0.13
  • 0.0.12
  • 0.0.11
  • 0.0.10
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
released Jul 13th 2015
This version is compatible with:
  • Debian
    ,
    RedHat

Start using this module

Documentation

bi/bi_ndenv — version 0.0.16 Jul 13th 2015

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 ndenv
  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

Overview

This modules has to main purposes:

  • Manage the static data associated with the ndenv package
  • Provide a wrapper around binaries in the ndenv package that are useful inside Puppet configuration

Module Description

The static data associated with the binaries contained in the ndenv package are stored in a puppet module data Hiera store. This allows higer level Hiera lookups to override binary paths, configuration files, etc...

Setup

puppet module install bi-bi_ndenv -i /path/to/moudles

Usage

To install a nodejs version:


define my_define() {
    bi_ndenv::version { 'v0.10.38':
        user => 'some_user',
        ensure => 'present',
    }
}

To install a ndenv version file:


define my_define() {
    file { '/project_dir':
        ensure => 'directory',
        owner => 'user',
        group => 'user',
    }
    ->
    bi_ndenv::version_file { '/project_dir':
        owner => 'user',
        group => 'user',
        version => 'v0.10.38',
        ensure => 'present',
    }
}

Reference

For more information see the projects wiki.

Limitations

Development

For more information see the projects wiki.