-
-
Notifications
You must be signed in to change notification settings - Fork 500
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
Updated comment symbol on inetrc.erb #709
Conversation
Can you comment on the reason for this a bit more? And which linting is failing? Seems like '%% ' should be the correct comment format, no? If this is a recent change, is it backwards compatible? Edit: as far as acceptance test failures, those are apparently due to https://tickets.puppetlabs.com/browse/BKR-1512 per @bastelfreak |
Hi @covidium, thanks for the PR. Are you interested in turning this into an epp template? https://puppet.com/docs/puppet/5.5/lang_template_epp.html |
@bastelfreak regardless of the template time, I'm still not sure this is a good change to make? |
@wyardley I've no knowledge about the format, I can't say anything about it. But we should be able to check if it works with an acceptance test? |
@wyardley you're totally right the comments should use double percent symbols to mark the comments and not a single one. My validation test failed on this erb template as the 2nd line has also embedded ruby code in the comment. The command is /bin/erb -x -T '-' $file | ruby -c || exit 1; ERB TEMPLATE - modules/rabbitmq/templates/inetrc.erb Once I've doubled the symbol, validation of the erb file was OK. ERB TEMPLATE - modules/rabbitmq/templates/inetrc.erb @bastelfreak I would like to help with the epp template, but at this moment I've zero experience with it |
@covidium Looks good to me, thanks for the contribution. I checked out the PR and double-checked that things look good and that the module path is still rendered correctly. Since the commits are signed, I don't want to squash-merge -- would you mind squashing down to a single commit / force-pushing in your feature branch? |
Changing comment symbol to double percent
@wyardley done |
@covidium Merged, and thanks for the contribution! |
Updated comment symbol on inetrc.erb
Linting validation fails on this file.