You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/etc/pkg/repos/FreeBSD.conf:
FreeBSD: { enabled: no }
Results in a final config with the FreeBSD repo disabled.
This is a relatively simple example, and seems to already work in FreeBSD, but codifying this as a feature would be useful.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5089653-feature-request-overrides?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
A canonical way to have an included config file override the configuration of the existing config file
example:
the pkg(8) tool in FreeBSD gets its configuration from all of the files in /etc/pkg and /usr/local/etc/pkg
/etc/pkg/FreeBSD.conf:
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
/usr/local/etc/pkg/repos/FreeBSD.conf:
FreeBSD: { enabled: no }
Results in a final config with the FreeBSD repo disabled.
This is a relatively simple example, and seems to already work in FreeBSD, but codifying this as a feature would be useful.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5089653-feature-request-overrides?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: