-
Notifications
You must be signed in to change notification settings - Fork 130
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
puppet 7: Could not find a suitable provider for foreman_smartproxy #639
Comments
The oauth2 gem is required. I'm guessing you need to reinstall that in the AIO Puppet environment since it was upgraded from Ruby 2.5 to Ruby 2.7 so some install paths may have changed. We had the same thing with Puppet 5 to 6 (2.4 to 2.5). |
Thanks @ekohl could you please elaborate. Where is this gem needed? On the puppetserver or the agent? |
Ok found it
|
That is indeed what I meant. It looks like we're not on the latest version (0.5.4), but that's already 3 years old. Doesn't look like they fixed the warning there. https://github.com/theforeman/puppet-foreman/blob/c3c090ce8645a3f3da9cf7290ac13cab1503d8c6/lib/puppet/provider/foreman_resource/rest_v3.rb#L62 does look easy to fix. There it should really use |
theforeman/puppet-foreman#911 should do that. If you have the time, please test it. |
Just upgraded to puppet 7 and had to set
foreman_proxy::register_in_foreman
to false otherwise an erro occurs:Could not find a suitable provider for foreman_smartproxy
The text was updated successfully, but these errors were encountered: