trobrock / chefvm Goto Github PK
View Code? Open in Web Editor NEWSimple Chef environment manager
Simple Chef environment manager
I just got this working and it's improved my life, thanks!
I had some trouble setting it up though. By reading through the code, I realized I needed to remove my ~/.chef directory (or move it to configurations). As most people will likely be setting this up with an existing configuration, it may make sense to add a bit about this to the README.
I don't know exactly how to profile a bash prompt yet - but I did a couple of tests, and removing the command from my prompt sped it up considerably.
on OSX readlink
does not have the -f
, stat -f '%N'
works though.
Enable tab completion on chefvm TAB
level
Please, add fish support
Would love for something like this
chefvm export default --name our-orgs-config
# creates ~/.chefvm/exports/our-orgs-config.tar.gz
Then on the other side
chefvm import our-orgs-config.tar.gz --name my-org
# creates a new config called 'my-org' with the config that was exported
This should by default exclude keys, with the ability to add specific keys.
This should also have the ability to encrypt the exported file.
Fish 2.5.0 fixed a bug with function definitions that now makes the init function with eval an invalid function. Here is the debug output:
function: Unexpected positional argument 'set'
- (line 1): begin; function chefvm set command "$1" if test [ "$argv" -gt 0 ] shift end switch "$command" case shell eval `chefvm "sh-$command" "$argv"` case "*" command chefvm "$command" "$argv"; end end
^
from sourcing file -
called on line 60 of file /usr/local/Cellar/fish/2.5.0/share/fish/functions/eval.fish
in function 'eval'
called on line 1 of file -
from sourcing file -
called on line 60 of file /usr/local/Cellar/fish/2.5.0/share/fish/functions/eval.fish
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.