Closed anthonygreen closed 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:
group { "puppet": ensure => "present", }
Exec { path => [ "/bin", "/usr/bin" ] }
include "scm" include "openjdk" include "jenkins" include "install-rvm"
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?
@anthonygreen How'd you end up fixing this?
I think Vagrant couldn't find the modules folder
checking the module directory permissions help
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?