Bug #12512
closednet-ssh/scp dependencies are missing when Fog group not installed
Description
With Fog 1.36.0, the net-ssh and net-scp dependencies are no longer on the fog-core gem and are instead in our 'fog' bundler group.
Since #10787 plus #8516, it's been possible to install just foreman-gce, foreman-libvirt or the gce/libvirt bundler groups without foreman-compute/the fog bundler group (which brings in 'fog' itself) installed.
If you install one of these bundler groups now without the fog group or foreman-compute, you won't have net-ssh or net-scp installed since there's no gem dependency to bring them in. This will cause a runtime error in fog-core.
Updated by Dominic Cleal over 9 years ago
- Related to Refactor #12494: Update fog to 1.36.0 added
Updated by Dominic Cleal over 9 years ago
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
I think we probably need to separate the fog-core (including net-*) bits out of the fog bundler group into a shared group or even into Foreman's general Gemfile. Having them in the fog group is misleading when it's optional.
Updated by The Foreman Bot over 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2920 added
Updated by Dominic Cleal over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 4a8834e414149d33d244e1017ff7bd2fc63ab31e.