-
Notifications
You must be signed in to change notification settings - Fork 279
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
Could not find default provider error (even with run stages) #41
Comments
I have successfully installed rvm and ruby 1.9.3 in 2 passes (by checking $rvm-installed). (I'm running standalone mode with
class webserver {
include rvm
stage { "ruby": require => Stage["rvm-install"] }
class {
"webserver::ruby":
stage => "ruby"
}
}
class webserver::ruby {
rvm_system_ruby {
'ruby-1.9.3-p0':
ensure => 'present',
default_use => true;
}
} Please advice |
@phuongnd08 , I would try my fork of puppet-rvm, specifically the "rvm_puppet_works_without_installing_rvm" branch. I'm not an expert puppet user, but I think you may be running into the same problem I was having (and fixed). That would be my guess. |
Make the autoupdate_flag a string to avoid this bug:
In Pull Request #39 I talked about my puppet setup, which has a problem finding the default provider, even when I use run stages.
I've uploaded a Vagrantfile + manifests that show the issue (with very few extra Puppet instructions to get in the way: http://www.wilcoxd.com/oss/puppet_rvm_provider_not_found.zip
When I try this with puppet-rvm (this repo) I get:
But, given that I think everything is set up properly, I don't think I should be getting this error....
Any help would be very much appreciated :)
The text was updated successfully, but these errors were encountered: