Skip to content

newLoki/puppet-npm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet NodeJS module

Description:

This is a puppet module that installs NodeJS 0.6.12 from source, installs npm, and creates an npm provider.

Where it goes:

NodeJS and npm are both installed into /home/node/opt/bin for the node user.

Usage:

Clone this repository into your Puppet submodule directory (git submodule add [email protected]:newLoki/puppet-npm.git modules/nodejs) and use include nodejs in your puppet manifests to install NodeJS by using this package.

If you want to install a npm module, for example uglifyjs, use the following snippet: package { "uglifyjs": ensure => installed, provider => npm, }

Note:

For installing nodejs from source you need a lot of RAM, 512MB are not enough, 2GB are much better for your VM

About

npm resource provider for puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 72.4%
  • Ruby 27.6%