-
Notifications
You must be signed in to change notification settings - Fork 101
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
Style Guide corrections #98
Conversation
@mcgege Thanks for the PR. Are these changes as suggested by the Puppet-lint? http://puppet-lint.com/ |
@bitvijays Unfortunately Puppet-lint only covers a subset of the styling suggestions ... my changes are based on the official Style Guide and I hope they'll make future code changes easier. puppet-lint didn't complain before and afterwards :-) |
@mcgege Thanks for the update. I had a quick look at the PR changes and the style guide. The below looks good to me Is there anything else which you have included which I have missed? Is there any reason to enter a new line after the resource declaration? like in blacklist_files. I agree on the removal of the line between "exec" and "command" |
@bitvijays I think this list pretty good summarizes it ... from my own "programming style guide" I applied this: But those are my personal style and adjustable :-) |
@mcgege Thank you for the information :) Would it be Okay.. if we just push "Puppet Style Guide" changes as of now? I am happy with your personal changes, however, currently, I can't think of how we can always make sure.. that other authors follow it and are happy with it? |
@bitvijays Well, I don't insist on my personal changes, but ... Of course we can't enforce these rules in the future (especially as it's not implemented in puppet-lint), but we could / should tidy up the code anyway from time to time :-) |
Okies. Thanks @mcgege for the pull request :) Much appreciated changes. Merged :) |
@mcgege @bitvijays puppet released puppet development kit:
It looks like there are this validators, linters etc which might be useful |
No description provided.