Ask Your Question
0

Can't find installed module on modulepath

asked 2013-11-15 17:07:25 -0500

notgary gravatar image

I'm attempting to use the maestrodev/rvm module when provisioning a virtual machine with Vagrant, but am running into a problem when attempting to include rvm. I keep getting

Error: Could not find class rvm for vagrant-ubuntu-saucy-64 on node vagrant-ubuntu-saucy-64
Error: Could not find class rvm for vagrant-ubuntu-saucy-64 on node vagrant-ubuntu-saucy-64

I see the same error twice, and I see it before any other output. I have installed the module using

puppet module install maestrodev/rvm

and after running this command the output of puppet config print modulepath yields

/home/notgary/.puppet/modules:/usr/share/puppet/modules

while puppet ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-16 03:54:04 -0500

rjc gravatar image

You have installed the module as the user and the path is reported only for the user.

You have to run the command as root or with sudo.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-11-15 17:07:25 -0500

Seen: 571 times

Last updated: Nov 16 '13