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

replace validate_* calls with datatypes & minor fixes #223

Merged
merged 7 commits into from Jun 7, 2017

Conversation

bastelfreak
Copy link
Collaborator

No description provided.

@bastelfreak bastelfreak force-pushed the puppet4 branch 2 times, most recently from 9b532c3 to e7e8279 Compare April 5, 2017 15:15
Copy link
Contributor

@jbondpdx jbondpdx left a comment

Choose a reason for hiding this comment

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

Docs look good, but the ToC should still be an h4 for consistency with other module READMEs.

@bastelfreak
Copy link
Collaborator Author

@jbondpdx updated it.

@jbondpdx
Copy link
Contributor

jbondpdx commented Jun 7, 2017

Awesome, thank you. I get your logic in changing it, but consistency.

Copy link
Contributor

@jbondpdx jbondpdx left a comment

Choose a reason for hiding this comment

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

docs are OK

Pattern[/present|installed|latest|^[.+_0-9a-zA-Z:~-]+$/] $version = 'present',
$package = undef,
Optional[Array] $package_options = undef,
$java_alternative = undef,
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't these be Optional[String]?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The goal was to replace all the validate_* calls with datatypes, not to add datatypes to all parameters. I normally mention this, but somehow forgot it here. I added datatypes to all params in init.pp now.

@binford2k binford2k merged commit 1af563c into puppetlabs:master Jun 7, 2017
@bastelfreak bastelfreak deleted the puppet4 branch June 7, 2017 22:02
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

4 participants