Skip to content

jormaster3k/puppet-n

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet-n

Installs n, nodejs and npm provider for Ubuntu.

Installation

git submodule add https://github.com/hstkk/puppet-n.git modules/n

Usage

  • Install n
include n
  • Install n, stable and unstable nodejs
class { 'n':
  versions => ['stable', 'latest'],
}

NPM provider

  1. Select nodejs version
  2. Install npm packages
exec { "use-node-stable":
  command => 'n stable',
  require => Class['n'],
}

package { 'express':
  provider => npm,
  require  => Exec['use-node-stable'],
}

About

Installs n, nodejs and npm package provider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 55.4%
  • Puppet 44.6%