Jira (BOLT-1123) Ability to install gems in bolt's ruby path

1 view
Skip to first unread message

Nick Maludy (JIRA)

unread,
Feb 8, 2019, 3:40:03 PM2/8/19
to puppe...@googlegroups.com
Nick Maludy created an issue
 
Puppet Task Runner / New Feature BOLT-1123
Ability to install gems in bolt's ruby path
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2019/02/08 12:39 PM
Priority: Normal Normal
Reporter: Nick Maludy

Story:

As a plan developer i need to be able to install gems into Bolt's ruby path so that functions written in ruby can be executed by the Bolt control node.

 

Use case:

We want to use the `rbvmomi` gem from the Bolt control node to create/delete snapshots on VMs in VMware. In order to do this, the `rbvmomi` gem needs to be installed in Bolt's ruby path.

 

Thoughts:

  • Setup a bolt_gem provider for the package resource to be used within an apply block.
  • Have a `bolt gem install` command that can be used to install gems individually or from a Gemfile into Bolt's gem path.
  • Something else i haven't thought of yet
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Alex Dreyer (JIRA)

unread,
May 13, 2019, 2:49:03 PM5/13/19
to puppe...@googlegroups.com
Alex Dreyer commented on New Feature BOLT-1123
 
Re: Ability to install gems in bolt's ruby path

The current workaround for this is /opt/puppetlabs/bolt/bin/gem install <gem name>

Reply all
Reply to author
Forward
0 new messages