-
Notifications
You must be signed in to change notification settings - Fork 461
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
Sync with pl ops #42
Sync with pl ops #42
Conversation
Couple of comments...
Good to hear the PL Ops team looking to sync with the publicly published stuff! |
Kinda falls under but not quite. They do more than the apt::debian::* things, backports isn't static and goes to the effort of determining some sane defaults for folks that aren't internally mirroring packages.
Because it makes it so that one follows the same pattern everywhere in the module. For instance, if you want to use class parameter defaults that reference things in a params class you must assign the full qualified to a local variable so might as well do it for non-class parameters too. Plus it cuts down on the amount of stuff I have to type, local variables are a lot shorter than fully qualified. Will also be easier of a pattern to convert when we move to the hiera-next data solution. |
I've been thinking about the title and wording of the merge request and commits. "Syncs up upstream with PL Operations" is not as helpful as it could be to someone reading through the log. It feels like there are really two discrete changes incorporated into the commits, which are
The fact that these changes were merged into Master from somewhere else is a given and doesn't really need to be the commit short description. I think the commit(s) would be a lot cleaner if they had titles such as the bullets given above and matching long descriptions explaining what was done as per Jeff McCune's commit style suggestions here. Thoughts? |
|
With the addition of this patch two new defines will be added; one to manage APT configuration files (apt::conf) and one that abstracts out the requirements needed to turn on backport repositories (apt::backports). In addition, the patch takes the opportunity to clean up variable definitions so they follow a consistent pattern of setting local variables to the fully qualified value stored in the apt::params class. Previously all variable used within a class directly addressed the apt::params namespace when ever the variable was used. In the pattern they now adhere to we can more easily switch the namespace data lives in or externalize it even more using hiera.
This patch adds the appropriate spec tests to validate the changes introduced by e5f2dfe. As a bonus it includes fixes to the manifests that were discovered while writing the tests.
No description provided.