https://github.com/kwakwaversal/saltstack-formula-ndenv
Install ndenv and Node http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
https://github.com/kwakwaversal/saltstack-formula-ndenv
ndenv node saltstack-formula
Last synced: 14 days ago
JSON representation
Install ndenv and Node http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
- Host: GitHub
- URL: https://github.com/kwakwaversal/saltstack-formula-ndenv
- Owner: kwakwaversal
- License: apache-2.0
- Created: 2016-11-09T08:37:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T08:29:28.000Z (about 9 years ago)
- Last Synced: 2025-07-30T20:39:01.181Z (10 months ago)
- Topics: ndenv, node, saltstack-formula
- Language: SaltStack
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# saltstack-formula-ndenv [](https://travis-ci.org/kwakwaversal/saltstack-formula-ndenv)
Install [ndenv](https://github.com/riywo/ndenv) and [Node](https://nodejs.org/en/)
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
## Description
ndenv will be installed in ~/.ndenv. This is assumed when checking out the main
repository, when checking out ndenv-related plugins, and conditional checks for
certain states. It's not currently possible to change the default installation
folder without updating the whole formula.
## Available states
- [ndenv](#ndenv)
- [ndenv.clone](#ndenv.clone)
- [ndenv.global](#ndenv.global)
- [ndenv.global-packages](#ndenv.global-packages)
- [ndenv.install](#ndenv.install)
- [ndenv.plugins](#ndenv.plugins)
- [ndenv.profile](#ndenv.profile)
## Basic pillar
Below is a basic pillar for the user `vagrant`. N.B., the user must exist on the
system you're salting.
```yaml
ndenv:
# The version of node to be installed for all users. N.B., this can be
# overridden per user.
node:
packages: []
versions:
- 6.7.0
users:
vagrant:
user: vagrant
group: vagrant
node:
packages_install_options: --registry http://registry.npmjs.eu
packages:
- gulp
versions:
- 6.9.0
```