-
Notifications
You must be signed in to change notification settings - Fork 205
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
Ignore cron commands over 80 characters long #198
Comments
You can easily put long commands in a template. That also resolves the quote-madness that sometimes arises. |
That seems overly complex for a single line that may just be 90 characters, but fair 'nuff |
80 char limit sadly snuck into the style guide, which is why there is a check in puppet-lint. It only triggers a WARNING and is easily disabled. Highly recommend just disabling that check on your systems, though I do not believe that lint should have exceptions as it is just responding to the style guide. |
I generally do disable the 80 char limit for automated testing, but it is a good lint check for cases when you might have accidentally created a really long |
As pointed out earlier in this issue, the recommended work around is to put it into a template or disable the check. I don't want to start making exceptions for every long line as it starts a horrible trend of people asking for exceptions for things like the |
Fix function call name token type in function_indexes method
I would argue that
command => ''
should also be excluded, as paths can be really long and can't be shortened without breaking the string abnormallyThe text was updated successfully, but these errors were encountered: