https://github.com/afaundez/node-build-cookbook
Node-build Chef Cookbook.
https://github.com/afaundez/node-build-cookbook
chef cookbook node-build nodejs nodejs-plugin
Last synced: 9 months ago
JSON representation
Node-build Chef Cookbook.
- Host: GitHub
- URL: https://github.com/afaundez/node-build-cookbook
- Owner: afaundez
- License: mit
- Created: 2018-02-01T08:03:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-08T21:27:10.000Z (over 2 years ago)
- Last Synced: 2025-02-12T08:56:01.494Z (10 months ago)
- Topics: chef, cookbook, node-build, nodejs, nodejs-plugin
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/node_build
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[]()
[]()
# node-build Chef Cookbook
Chef cookbook for node-build.
# Usage
## Cookbook
```ruby
cookbook 'node_build', '~> 1.0.3'
```
## Resource
### Standalone install
```ruby
node_build_standalone_install 'node-build'
```
#### Properties
| Property | Type | Default | Description |
| --------- | ------- | ------------- | ----------- |
| prefix | String | `/usr/local` | node-build will be installed in `prefix/share/node-build`. |
Name property is not used.
### Plugin install
```ruby
node_build_plugin_install '/path/to/install/node-build'
```
#### Properties
| Property | Type | Default | Description |
| --------------- | ------- | ---------------------------------------- | ----------- |
| node_build_root | String | | Path to install node-build: `/home/myuser/.nodenv/plugins/node-build` |
| owner | String | | Owner responsible of `node_build_path`. |
| group | String | | Group responsible of `node_build_path`. |
| git_url | String | https://github.com/nodenv/node-build.git | You can give an alternative git URL |
| git_revision | String | master | You can choose a branch, tag, or commit to be synchronized with git |
| user | String | | Deprecated. Use `owner` instead |
`node_build_root` is the name property.