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

Feature Request: overrides #37

Open
allanjude opened this issue Oct 4, 2014 · 0 comments
Open

Feature Request: overrides #37

allanjude opened this issue Oct 4, 2014 · 0 comments

Comments

@allanjude
Copy link
Contributor

allanjude commented Oct 4, 2014

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant