forked from puppetlabs/puppetlabs-ntp
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Replacing anchor functionality with contain #8
Closed
HelenCampbell
wants to merge
12
commits into
DavidS:experiments/puppet4
from
HelenCampbell:containAdd
Closed
Replacing anchor functionality with contain #8
HelenCampbell
wants to merge
12
commits into
DavidS:experiments/puppet4
from
HelenCampbell:containAdd
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rspec-puppet-facts is now provided by the default modulesync configs
The following changes will only run (well) on puppet 4.5 or later. Therefore we can drop the puppet 3 testing on travis, and add more in-depth testing for puppet 4. Update the version_requirement in metadata.json. We'll also require the newest version of stdlib for the validate_legacy and deprecation functions. Since we are dropping compatibilty with puppet 3, users of that version would experience breakage with the new ntp version, therefore this is a major version bump.
Note that data-in-modules is currently still marked as "experimental", but will be finalized soon, supporting what is currently used here.
This requires more work to add depreciations to the current hodge-podge, to tighten down what is allowed. Many of the unchecked edge-cases will result in a broken ntp config anyways, but just fixing it would elevate issues in this area from broken ntp service to broken catalog.
After this change, the module uses, and can accept EPP templates through the config_epp and step_tickers_epp parameters. ERB templates are still valid through the config_template and step_tickers_template parameters. Backwards-Compatibility-Saved-By: Wilson McCoubrey <[email protected]>
This updates all ntp class params to allow proper puppet 4 type checking, while still retaining the possibility to accept all formerly allowed values. Values that were allowed by the previous validation code, but will not pass the new type validation will be flagged with a deprecation warning. This requires the EPP template commit, so that all users of these values are prepared to handle the new values.
Copy-Edited-By: jbondpdx <[email protected]>
This finishes the move to a cleaner puppet4 interface. Since this is a breaking change, it also bumps the major version. Users of the previous version who were running without receiving any deprecation warnings can use this version without any changes.
5378b7a
to
9f8be59
Compare
9cd2b1f
to
9dd6454
Compare
9f8be59
to
7c728d8
Compare
Cherry-picked to puppetlabs#332 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.