sous-chefs / consul

Development repository for the consul cookbook
https://supermarket.chef.io/cookbooks/consul
Apache License 2.0
192 stars 244 forks source link

Changed type of log_rotate_bytes to Integer. #577

Closed kovukono closed 3 years ago

kovukono commented 3 years ago

Description

This changes the config option of log_rotate_bytes to Integer. Using the current option of a string provides the following output:

Nov 12 13:48:29 VM-719e433f-7079-44bc-bff2-db102fae7eee consul[9081]: ==> Error parsing /etc/consul/consul.json: 1 error(s) decoding:
Nov 12 13:48:29 VM-719e433f-7079-44bc-bff2-db102fae7eee consul[9081]: * 'log_rotate_bytes' expected type 'int', got unconvertible type 'string'
Nov 12 13:48:29 VM-719e433f-7079-44bc-bff2-db102fae7eee systemd[1]: consul.service: main process exited, code=exited, status=1/FAILURE
Nov 12 13:48:29 VM-719e433f-7079-44bc-bff2-db102fae7eee systemd[1]: Unit consul.service entered failed state.
Nov 12 13:48:29 VM-719e433f-7079-44bc-bff2-db102fae7eee systemd[1]: consul.service failed.

Check List

kitchen-porter commented 3 years ago
1 Warning
:warning: This Pull Request is probably missing tests.

Generated by :no_entry_sign: Danger