Configuration from CONFIG is loaded to ProxySQL only when chef-client runs this creates problem when service fails since it does not load configuration from CONFIG by default only from DISK.
This change solves this problem by adding post hook which runs only after successful pre hook.
Configuration from
CONFIG
is loaded to ProxySQL only when chef-client runs this creates problem when service fails since it does not load configuration fromCONFIG
by default only fromDISK
.This change solves this problem by adding
post
hook which runs only after successfulpre
hook.