Note
See the full Salt Formulas installation and usage instructions.
Install The Node Version Manager from source
Saltstack NVM Formula
License: Other
Note
See the full Salt Formulas installation and usage instructions.
Install The Node Version Manager from source
After adding and applying this formula I get the following error:
----------
ID: https://github.com/creationix/nvm.git
Function: git.latest
Result: False
Comment: The following keyword arguments are not valid: force=True
If I remove the line
force: True
from nvm-formula/nvm/source/init.sls, I am able to apply the state without any errors.
The salt documentation for the function lists the following possible arguments starting with the word 'force':
force_checkout
: False
When checking out the local branch, the state will fail if there are unwritten changes. Set this argument to True to discard unwritten changes when checking out.
force_clone
: False
If the target directory exists and is not a git repository, then this state will fail. Set this argument to True to remove the contents of the target directory and clone the repo into it.
force_fetch
: FalseIf a fetch needs to be performed, non-fast-forward fetches will cause this state to fail. Set this argument to True to force the fetch even if it is a non-fast-forward update. New in version 2015.8.0.
force_reset
: False
If the update is not a fast-forward, this state will fail. Set this argument to True to force a hard-reset to the remote revision in these cases.
It's unclear to me what the intention of the 'force: True' line is. It is also causing the state run to fail. There is already an open PR for this. Filing this issue for clarity.
Please let me know if you would like more info.
--
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.