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

Validate the concat::fragment order parameter as string||integer #185

Merged

Conversation

jhoblitt
Copy link
Contributor

This is to work around a validation issue that arises under the 3.x future
parser, as proper numeric types have been introduced (ie, not all scalar values
are strings). Users have come to expect to to be able to pass in unquoted
integer values to the order parameter which will fail to validate as a string
when the future parser is enabled.

@jhoblitt
Copy link
Contributor Author

This PR was opened due to on going discussion in PR #183. Please do not merge before a conclusion as been reached in the discussion on #183 .

janorn added a commit to janorn/puppet-nginx that referenced this pull request May 27, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
@jhoblitt
Copy link
Contributor Author

I haven't had the time to run down the ruby 1.8.7 test failure... This PR should be in a mergable state soon.

@jhoblitt
Copy link
Contributor Author

The 10,000 cuts of ruby 1.8.7 continues... it appears that this module can no longer be tested for ruby 1.8.7 on fedora 20 due to gem deps having trouble with the bundled version of gcc. See: knu/ruby-unf_ext#8

janorn added a commit to janorn/puppet-nginx that referenced this pull request May 28, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
Joshua Hoblitt added 3 commits May 29, 2014 13:07
This is to work around a validation issue that arises under the 3.x future
parser, as proper numeric types have been introduced (ie, not all scalar values
are strings).  Users have come to expect to to be able to pass in unquoted
integer values to the order parameter which will fail to validate as a string
when the future parser is enabled.
It appears that puppet 2.7.3 does not play nicely with stdlib 4.2.0.
@jhoblitt
Copy link
Contributor Author

This PR was rebased on master, no other changes were made.

jhoblitt pushed a commit that referenced this pull request May 29, 2014
Validate the concat::fragment order parameter as string||integer
@jhoblitt jhoblitt merged commit f70881f into puppetlabs:master May 29, 2014
@jhoblitt jhoblitt deleted the feature/fragment_order_validation branch May 29, 2014 21:38
janorn added a commit to janorn/puppet-nginx that referenced this pull request Jun 4, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
janorn added a commit to janorn/puppet-nginx that referenced this pull request Jun 4, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
janorn added a commit to janorn/puppet-nginx that referenced this pull request Jun 4, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
janorn added a commit to janorn/puppet-nginx that referenced this pull request Jun 4, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
janorn added a commit to janorn/puppet-nginx that referenced this pull request Jun 4, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
janorn added a commit to janorn/puppet-nginx that referenced this pull request Jun 12, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
janorn added a commit to janorn/puppet-nginx that referenced this pull request Jun 12, 2014
… for the order parameter. This might change with this pull request puppetlabs/puppetlabs-concat#185. Until then puppet-lint will complain.
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.

2 participants