blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

Could not find class rvm #51

Closed anthonygreen closed 12 years ago

anthonygreen commented 12 years ago

I'm trying to provision a box with vagrant

I've added puppet-rvm as a git submodule in my modules dir

and the following puppet scripts in the manifest dir:

init.pp

group { "puppet": ensure => "present", }

Exec { path => [ "/bin", "/usr/bin" ] }

include "scm" include "openjdk" include "jenkins" include "install-rvm"

install-rvm.pp

class install-rvm { include rvm rvm::system_user { deployer: ; }

if $rvm_installed == "true" { rvm_system_ruby { 'ruby-1.9.3-p194': ensure => 'present', default_use => true; } } }

But I get the error

"Could not find class rvm for oneiric32 at /tmp/vagrant-puppet/manifests/install-rvm.pp:2 on node oneiric32"

Is there a method for debugging why this isn't working?

hoffm commented 12 years ago

@anthonygreen How'd you end up fixing this?

anthonygreen commented 12 years ago

I think Vagrant couldn't find the modules folder

vandamon commented 9 years ago

checking the module directory permissions help