Installs node.
Installs node from the provided tarball files.
Install pm2 globally with npm
Right now only Ubuntu 64 bits is supported.
- 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 is done with kitchen-salt.
Install it via bundler:
bundle
Then run test-kitchen with:
kitchen converge