-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
Description
I need deploy something to one of my server test with user deployer, and this user already installed rvm.
So when I run fix node:test, littlechef will use rvm environment, it will raise error about not found chef.
Solve this thing, I need run rvm reset first after using deployer user, is there any callback for this?
I'm thinking about add one config for this:
[userinfo]
run_script=init.sh
In init.sh:
if which rvm > /dev/null; then
rvm reset
fi
Any idea?
Reactions are currently unavailable