chef-cookbooks / rubygems

Configures Rubygems sources and provides rubygems_api resource
https://supermarket.chef.io/cookbooks/rubygems
Apache License 2.0
5 stars 14 forks source link

possible to edit gemrc in compile time? #19

Open iasllanih opened 4 years ago

iasllanih commented 4 years ago

Cookbook version

[Version of the cookbook where you are encountering the issue] 1.1.0

Chef-client version

[Version of chef-client in your environment] 12.9.41

Platform Details

[Operating system distribution and release version. Cloud provider if running in the cloud] CentOS 7

Scenario:

[What you are trying to achieve and you can't?] update gemrc file in compile time, before installing gems in recipes later in runlist

Steps to Reproduce:

[If you are filing an issue what are the things we need to do in order to repro your problem? How are you using this cookbook or any resources it includes?] run rubygems followed by chef_gems recipe

Expected Result:

[What are you expecting to happen as the consequence of above reproduction steps?] gems install and gemrc file is updated

Actual Result:

[What actually happens after the reproduction steps? Include the error output or a link to a gist if possible.] client run fails, but succeeds second time, assuming this is due to gemrc resource not being run in compile time

welcomebot commented 4 years ago

Hey There It looks like this is the first issue you've filed against the chef-cookbooks project. I'm here to offer you a bit of extra help to make sure we can quickly get back to you. Make sure you've filled out all the fields in our issue template. Make sure you've provided us with the version of chef-client you're running, your operating system and the version of the cookbook. If you're not using the most up to date version of the cookbook then please make sure to update first. Lots of things change between versions even if you're issue isn't listed in the changelog. Finally please give us a detailed description of the issue you're having. The more we know about what you're trying to do, what actually happens, and how you can reproduce the problem, the better.

If you're looking for more immediate troubleshooting help make sure to check out #general on the Chef Community Slack. There's plenty of folks there willing to lend a helping hand. Thanks for the first issue. We hope we can get back to you soon with a solution.