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

How to: Not use group=rvm #46

Closed
judoole opened this issue Jul 16, 2014 · 6 comments
Closed

How to: Not use group=rvm #46

judoole opened this issue Jul 16, 2014 · 6 comments

Comments

@judoole
Copy link

judoole commented Jul 16, 2014

I have restrictions which makes me not able to create users or groups. How would I go about installing rvm under for example group root instead?

@carlossg
Copy link
Member

the rvm group is created by rvm itself, you would need to do a single user install
https://rvm.io/rvm/install

@judoole
Copy link
Author

judoole commented Jul 16, 2014

Aha. That looks more like it. Maybe something along the lines of eirc/single_user_rvm is what rather suits my needs.

Thanks for such a quick reply!

@judoole judoole closed this as completed Jul 16, 2014
@carlossg
Copy link
Member

actually if you use this module as your user instead of root it should work too, although I never tried

@judoole
Copy link
Author

judoole commented Jul 17, 2014

My Puppet-skills comes up a little short for that. How would I go about doing that @carlossg? Or would I need to add some functionality to https://github.com/maestrodev/puppet-rvm/blob/maestrodev/manifests/system.pp running the exec part with su $user ?

@carlossg
Copy link
Member

just run puppet apply as a normal user, something like puppet apply --modulepath /etc/puppet/modules your_site.pp

@judoole
Copy link
Author

judoole commented Jul 17, 2014

Aha. Hoped it could be done inside the main puppet manifest. So that Vagrant would easily be able to run it from one file. eirc/single_user_rvm did not run smoothly either. It has some dependency problems at centos it seems. So I think I'll end up writing a short version based on code from this repo, but for my use - centos and single user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants