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

Replacing anchor functionality with contain #8

Closed

Conversation

HelenCampbell
Copy link

No description provided.

DavidS and others added 11 commits October 6, 2016 11:17
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.
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.
@DavidS DavidS force-pushed the experiments/puppet4 branch 2 times, most recently from 5378b7a to 9f8be59 Compare October 14, 2016 15:55
@DavidS
Copy link
Owner

DavidS commented Oct 18, 2016

Cherry-picked to puppetlabs#332

@DavidS DavidS closed this Oct 18, 2016
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

Successfully merging this pull request may close these issues.

2 participants