An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# saltstack-formula-ndenv [![Build Status](https://travis-ci.org/kwakwaversal/saltstack-formula-ndenv.svg?branch=master)](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
```