Skip to content

seegno/node-formula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node

Installs node.

Available States

node

Installs node from the provided tarball files.

node.pm2

Install pm2 globally with npm

Platforms

Right now only Ubuntu 64 bits is supported.

Usage

  • Bootstrap your machine with salt-bootstrap.
  • Set your pillar data with the version and the md5sum of the file:
node:
  version: 4.2.2
  tar-md5: d15578f9497cfc470876035be6817b44
  pm2:
    version: 0.15.10
  • Add the state to your machine highstate or call it directly salt "my-machine-name" state.sls node
$ salt "my-machine-name" cmd.run "node --version"
v4.2.2

Testing

Testing is done with kitchen-salt.

Install it via bundler:

bundle

Then run test-kitchen with:

kitchen converge

Author

Alfredo Palhares