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

MODULES-1784 check for deprecated options and fail when they are unsupported #1036

Merged
merged 2 commits into from
Feb 26, 2015

Conversation

roman-mueller
Copy link
Contributor

See https://tickets.puppetlabs.com/browse/MODULES-1784 for more information.
Basically if you specify allow, deny, order or satisfy on a system running Apache 2.4, those options get silently dropped.

With this pull request those manifests would fail and alert the user that they are not using supported options.

Feedback very much welcome.
I tried to solve this in the manifest but failed since $directories can be an array of hashes and I found no way to check for the existence of a key in such a construct.

@underscorgan
Copy link
Contributor

@faker- could you add some tests for this? thanks!

@roman-mueller
Copy link
Contributor Author

@mhaskel added tests with last commit

underscorgan pushed a commit that referenced this pull request Feb 26, 2015
MODULES-1784 check for deprecated options and fail when they are unsupported
@underscorgan underscorgan merged commit 32ae40b into puppetlabs:master Feb 26, 2015
@underscorgan
Copy link
Contributor

Great, thanks @faker- !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants