Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipe to install RVM locally for a user #4

Closed
fnichol opened this issue Jan 30, 2011 · 3 comments
Closed

Recipe to install RVM locally for a user #4

fnichol opened this issue Jan 30, 2011 · 3 comments
Assignees

Comments

@fnichol
Copy link
Contributor

fnichol commented Jan 30, 2011

This can be useful for special system users needing more ruby isolation. Main use case here for me is to allow the user running a Hudson/Jenkins instance to add more rubies and spin up gemsets while leaving a system-wide RVM install alone. We might not want to impact a production running passenger or rails stack running while performing CI tasks.

Tentative idea is to have an rvm::user recipe that will iterate over an rvm/user_installs array of system users. Issues to solve are how to set defaults such as default_ruby and gems in some kind of hash that isn't overly complicated.

@ghost ghost assigned fnichol Aug 8, 2011
@fnichol
Copy link
Contributor Author

fnichol commented Aug 9, 2011

For anyone curious, this is about 80% complete. I'm hooking into Chef's popen4 to fork a subprocess as another user to assume their identity. A user attribute needs to be added to all resources and possibly some re-organizing of attributes. I'm trying to minimize breaking changes but it may be worth the pain in the long run.

@fnichol
Copy link
Contributor Author

fnichol commented Aug 17, 2011

All done!

@fnichol fnichol closed this as completed Aug 17, 2011
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant