chef-cookbooks / chef-ingredient

Primitives for managing Chef products and packages
https://supermarket.chef.io/cookbooks/chef-ingredient
Apache License 2.0
45 stars 54 forks source link

chef_client resource needs to support source #171

Open vinyar opened 7 years ago

vinyar commented 7 years ago

Cookbook version

2.1.1

Chef-client version

12.36

Scenario:

I want to be able to specify custom source for all constructs provided by chef-ingredient, such as chef-server, supermarket, wf_builder and chef-client.

Steps to Reproduce:

package_source is not passed forward to chef_ingredient resource by wrapper constructs, therefore there is no way specify it without going back to vanilla chef_ingredient.

Expected Result:

Ability to specify package source so that bits can be configured in a firewalled environment. Seems that chef_client resource and wf_builder are specially affected:

Actual Result:

package_source property is only supported by chef_ingredient, but not wrapper constructs

vinyar commented 7 years ago

above PR has some kind of issue. Going to clean up and issue a new pr