sous-chefs / logrotate

Development repository for the logrotate cookbook
https://supermarket.chef.io/cookbooks/logrotate
Apache License 2.0
122 stars 152 forks source link

Do not sort options as the order can be important #163

Closed ramereth closed 2 years ago

ramereth commented 2 years ago

If someone is trying to do something like the following:

postrotate
  /usr/bin/systemctl reload named.service > /dev/null 2>&1 || true
endscript

The sorting completely breaks this.

Signed-off-by: Lance Albertson lance@osuosl.org

kitchen-porter commented 2 years ago

Released as: 3.0.6