Using a list of lines for prerotate breaks formatting
Closed this issue · 4 comments
The generated output is:
prerotate
# do stuff
# More info about stuff here.
stuff.sh --fou --barre
endscript
It should be this:
prerotate
# do stuff
# More info about stuff here.
stuff.sh --fou --barre
endscript
The differences are:
- All lines of the script should be indented the same.
- All lines of the script should be indented one level more than the surrounding
prerotate
andendscript
tags.
👍 This weekend I'm going to work on moving this cookbook over to using resources rather than definitions. I'll be sure to keep this in mind.
I thought I had included a fix for this in 2.0 but it seems not. Marking this for 2.2.
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.