Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support drop-in configs #357

Open
Cornelicorn opened this issue Aug 11, 2024 · 1 comment
Open

Support drop-in configs #357

Cornelicorn opened this issue Aug 11, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@Cornelicorn
Copy link
Contributor

Allowing drop-in configs (i.e./etc/sbctl/sbct.conf.d/*.conf) would be nice for use in bigger setups, where sbctl is used on different machines with different requirements.

For example all machines should get custom db certificates, but some machines should also get Microsoft's certificates for Nvidia devices, so you could create /etc/sbctl/sbctl.conf.d/nvidia.conf containing

db_additions:
  - microsoft

on machines with an nvidia card and use the same invocations of sbctl throughout all hosts.

This would introduce more complexity to the config parsing, but also allows distros shipping their own config, which users then still can override while keeping the distros defaults valid and updated on package upgrades.

@Foxboron
Copy link
Owner

It was part of my long-term plan but I didn't want the config stuff to drag on forever so limited it to only a single file for the first iteration :)

@Foxboron Foxboron added this to the 1.0 milestone Aug 11, 2024
@Foxboron Foxboron added the enhancement New feature or request label Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants