Forge Home

nodejs

This is a puppet module to install and configure nodejs.

6,557 downloads

6,557 latest version

2.6 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.1.0 (latest)
released Jun 8th 2016
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 'avinashsi7-nodejs', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add avinashsi7-nodejs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install avinashsi7-nodejs --version 0.1.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

avinashsi7/nodejs — version 0.1.0 Jun 8th 2016

####Table of Contents

  1. Overview
  2. Setup - The basics of getting started with nodejs
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

##Overview

The puppet module for managing the installation of nodejs installation. Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

##Setup

###What nodejs affects

  • nodejs package.

###Beginning with nodejs

include 'nodejs' in manifests/nodes.pp:

node "nodejs.vagrant.com" 
    {
        include nodejs 
        
    }

##Usage

All interaction with the nodejs module can do be done through the main nodejs class. This means you can simply toggle the options in nodejs to have full functionality of the module.

##Limitations

This module has been built on and tested against Puppet 2.7 and higher.

The module has been tested on:

  • RedHat Enterprise Linux 5/6
  • CentOS 5/6

##Development

Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.

We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.

You can read the complete module contribution guide on the Puppet Labs wiki.