Skip to content

Add dependencies for network modules #115

Description

@DavidS

Use Case

When I use bolt with the Cisco IOS module I need to manually install the net-ssh-telnet gem by running /opt/puppetlabs/bolt/bin/gem install --user-install net-ssh-telnet. This isn't a great user experience - it causes friction for new users of the module (as reported by early users of the module). It would help on boarding new users if dependent gems are included in the bolt dependencies meaning their installation is done on behalf of customers.

Describe the Solution You Would Like

It would be great if the following gems could be included in the bolt package.

  • net-ssh-telnet - required by the Cisco IOS module
  • cisco_node_utils - required by the Cisco Nexus module
  • builder - required by the PANOS module

Describe Alternatives You've Considered

Even better, but probably a lot more involved would be to add gem dependencies into module metadata, and automatically download/install the required gems.

A different approach could be to allow installing additional gems into a cache directory in the user's home directory.

Additional Context

This was previously https://tickets.puppetlabs.com/browse/BOLT-1377

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions