Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

inject default values to from_config_file method #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guskovd
Copy link

@guskovd guskovd commented Sep 20, 2016

for cases where there are no corresponding fields in the file

eg
modern "/etc/chef/client.rb" files like:

chef_server_url "_"
client_fork true
log_location '/var/log/chef/client.log'
no_lazy_load true
validation_client_name "chef-validator"
verify_api_cert true
environment "testing"
node_name "
_"

...

@coderanger
Copy link
Owner

Not sure what the goal is here. I've kept the from_config_file API thin so you just get what was in the file and that's it. If you want to do overrides, do them in your own code afterwards.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants