Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 19, 2015
  1. Ben S

    (MODULES-1637) Major refactor

    juniorsysadmin authored
    This set of patches includes multiple changes and is not backward-compatible.
    
    In summary this code:
    - Supercedes PR 99 (MODULES-1075), 97, 96, 94, 93, 85, 82, 80, 79, 51, 69, 66
      and 102
    - Explicitly makes Debian Squeeze unsupported
    - Makes nodejs, nodejs-dev and nodejs-debug package names parameters
    - Defaults to using the NodeSource repositories where possible, but allows
      native packages to be installed when appropriate parameters are set
    - Introduces a parameter repo_class, which allows one to use alternative
      repositories like EPEL for the Node.js packages.
    - Adds Windows installation support via Chocolatey
    - Adds FreeBSD and OpenBSD support
    - Changes the format of the nodejs::npm defined type to be module|path
      rather than path:module for the name
    - Attempts to support all of the npm install <package> forms, except for
      version ranges. Tags are supported with a separate parameter, and the
      version parameter has been removed (Version numbers can be passed to the
      ensure parameter instead)
    - Adds a defined type nodejs::npm::global_config_entry, which allows one to
      set and delete global npm config options. The proxy parameter in nodejs:npm
      has been removed since this can now be done with global_config_entry.
    - Adds a number of RSpec unit tests
    - Adds a Beaker acceptance test skeleton
Commits on Jan 21, 2015
  1. Correct tests to match logic

    Tom Grace authored
Commits on Dec 23, 2014
  1. Scott Merrill

    merge master

    skpy authored
Commits on Dec 4, 2014
  1. Alex Trepca

    Fix RSpec tests

    atrepca authored
Commits on Dec 2, 2014
  1. Scott Merrill

    Parameterize package names

    skpy authored
    This adds parameters for the following packages:
    * node_pkg
    * npm_pkg
    * dev_pkg
    
    For backwards-compatibility, I have left the `dev_package` boolean name
    intact.
    
    Added a little more documentation.
    
    Noted that this has been tested on Red Hat Enterprise Linux 6.
    
    Update tests:
    * Default to 'false' for `dev_package` on RHEL and derivatives (including
    Fedora and Amazon).
    * Add tests for RHEL and derivatives:
      * when `node_pkg` is defined
      * when `node_pkg` and `npm_pkg` are defined
Commits on Sep 28, 2014
  1. Romain

    add archlinux support

    Filirom1 authored
Commits on Apr 20, 2014
  1. Lucas Bickel
Commits on Apr 17, 2014
  1. Fix the specs.

    Ashley Penney authored
Commits on Feb 7, 2014
  1. add support for Scientific Linux operatingsystem

    Fabien Wernli authored
Commits on Nov 7, 2013
  1. Dominic Cleal

    Ignore exit codes from "npm list --json" as they can be misleading

    domcleal authored
    Instead just try and parse the JSON on stdout.  If the command doesn't
    produce JSON fail, then the error handler still exists.  Bugs in npm or
    packaging like https://bugzilla.redhat.com/show_bug.cgi?id=986422 can
    cause package lists to come back empty even if the error's harmless.
Commits on Aug 27, 2013
  1. Ben Firshman

    Add version parameter

    bfirsh authored
Commits on Aug 1, 2013
  1. Si Wilkins

    Merge branch 'master' of https://github.com/siwilkins/puppetlabs-nodejs

    siwilkins authored
    Conflicts:
    	spec/classes/nodejs_spec.rb
  2. Si Wilkins
Commits on Jun 30, 2013
  1. Wolf Noble
Commits on May 19, 2013
  1. added PPA ppa:chris-lea/node.js-devel for nodejs-dev on Ubuntu

    25th-floor Operations authored
Commits on May 8, 2013
  1. Si Wilkins
Commits on Dec 26, 2012
  1. Mike Arnold

    Remove Package['nodejs-stable-release'] on RedHat.

    razorsedge authored
    Since we are switching to using yumrepo, lets remove any existing
    nodejs-stable-release packages on osfamily RedHat.
  2. Mike Arnold

    Replace nodejs.tchol.org references with new site.

    razorsedge authored
    nodejs.tchol.org seems to be offline, so lets use
    patches.fedorapeople.org instead to deploy RPMs via yumrepo.
Commits on Jun 8, 2012
  1. Branan Purvine-Riley

    Merge pull request #12 from nanliu/tb/proxy

    branan authored
    Add support for npm proxy configuration.
Commits on Jun 6, 2012
  1. Nan Liu

    Add support for npm proxy configuration.

    nanliu authored
    Add npm proxy support and configuration of proxy prior to installing npm
    packages. Without this support npm install <package> will error:
    
        npm ERR! Error: failed to fetch from registry: <package>
Commits on May 31, 2012
  1. Branan Purvine-Riley

    Update for the new puppetlabs_spec_helper gem

    branan authored
    * Add automatic fixtures creation to `rake spec`
    * Remove recursive symlink
    * Prepend fixtures modulepath instead of overriding
    * Update travis for the new automagical rake spec
Commits on May 15, 2012
  1. Nan Liu

    Merge pull request #7 from nanliu/tb/specfix

    nanliu authored
    Fix spec test bug on Puppet 2.6.
Commits on May 8, 2012
  1. Nan Liu
Commits on May 7, 2012
  1. Nan Liu

    Add RedHat family support for Nodejs.

    nanliu authored
    * Add support for RedHat/Fedora in Nodejs modules.
    * Use npm package instead of npm source installation.
    * Update modulesfile dependency for stdlib.
Commits on May 5, 2012
  1. Nan Liu

    Change apt class to include.

    nanliu authored
    Use include syntax to make module more compatible with other modules
    with apt class dependency. Remove python-python-properties since it's
    part of apt::ppa.
Commits on May 1, 2012
  1. Nan Liu

    Add spec tests for npm package provider.

    nanliu authored
    Provide basic spec test for npm package provider.
Something went wrong with that request. Please try again.