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

add deprecation warnings on removed parameters + warn on inclusion of co... #90

Merged
merged 1 commit into from Nov 1, 2013

Conversation

jhoblitt
Copy link
Contributor

...ncat::setup

@jhoblitt
Copy link
Contributor Author

This PR was motivated by the discussion in #89

@@ -11,7 +11,7 @@
#
class concat::setup {
if $caller_module_name != $module_name {
fail("Use of private class ${name} by ${caller_module_name}")
warning("Use of private class ${name} by ${caller_module_name}")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can probably come up with a better explanation here as this is so frequently used, something along the lines of an explanation that we're moving to having concat be the entry class going forward and concat::setup will eventually stop being usable directly. Just something a bit more enduser friendly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I was in a hurry to get something up quickly for comments.

@jhoblitt
Copy link
Contributor Author

I've updated the warning strings and added integration tests. This doesn't cover the $warn param split up -- do we need to do something around that or perhaps even back that change out?

apenney pushed a commit that referenced this pull request Nov 1, 2013
add deprecation warnings on removed parameters + warn on inclusion of co...
@apenney apenney merged commit 99250ed into puppetlabs:master Nov 1, 2013
@apenney
Copy link

apenney commented Nov 1, 2013

I think it's OK as is, it's really just the concat::setup thing people are concerned about.

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

3 participants