Chef Ideas

We believe that the best way to build software is to do it in close collaboration with the people who use it. We invite you to submit your ideas using the form below. Please be sure to include the problem for which you are solving and the benefits of implementing the idea.

We do our best to implement as many Ideas as we can. Our Product team will evaluate all submitted ideas in a timely manner and will disposition each into one of the following categories: will integrate into the product roadmap, further research is needed, unlikely to implement.

Thanks for collaborating with us!

"hab config apply": Provide ability to add/update a SINGLE setting

Currently a "hab config apply" command takes a .toml file which contains (x) number of settings. This set of settings acts as a fourth config layer (default, ring, user.toml, hab config apply). In order to edit or add multiple of the lower-layer-settings, the .toml file must contain all of them - they cannot be changed one at a time.

e.g.
Top 3 layers contain settings named s1 through s4
hab config apply's toml contains setting s5 - end result s1 through s5 are in census
hab config apply's toml now only contains s7 and s9 - end result settings s1-s4, s7, s9 are in census with the previously added s5 gone.

Use case:
Device gets settings from an API call that need to be layered on top of existing config (e.g. timezone, merchant ID from an internal database, determined by host name). These API calls are staggered and updated one at a time.
We've written a workaround where this "hab config apply" layer is handled as a complete list of settings and applied as an entire set when any are changed.

  • Guest
  • Mar 18 2022
  • New
  • Attach files