Skip to content
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

fixes #10787 - load fog extensions based on available CRs #2459

Closed
wants to merge 1 commit into from

Conversation

domcleal
Copy link
Contributor

Previously fog_extensions loaded inside one large rescue LoadError, so
if fog-libvirt wasn't installed, it would fail part way through. Now
check which providers are loaded, and only extend those. Moved loading
of providers inside fog/ to application.rb so availability is accurate.

With a180c32, this allows 'ec2', 'gce' and 'libvirt' bundler groups to
be used without 'fog'.

Previously fog_extensions loaded inside one large rescue LoadError, so
if fog-libvirt wasn't installed, it would fail part way through.  Now
check which providers are loaded, and only extend those.  Moved loading
of providers inside fog/ to application.rb so availability is accurate.

With a180c32, this allows 'ec2', 'gce' and 'libvirt' bundler groups to
be used without 'fog'.
@dLobatog
Copy link
Member

Merged as 08a722a, thanks @domcleal!

@dLobatog dLobatog closed this Jun 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants