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

Make sure nodejs::install is private #112

Merged
merged 1 commit into from
Feb 26, 2015

Conversation

hunner
Copy link
Member

@hunner hunner commented Feb 26, 2015

No description provided.

underscorgan pushed a commit that referenced this pull request Feb 26, 2015
Make sure nodejs::install is private
@underscorgan underscorgan merged commit 3b6da16 into voxpupuli:master Feb 26, 2015
class nodejs::install {
if $caller_module_name != $module_name {
fail("Use of private class ${name} by ${caller_module_name}")
}
Copy link
Contributor

Choose a reason for hiding this comment

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

can't we use private() here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Nope. private() wasn't added until stdlib 4.4.0 or 4.5.0

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.

3 participants