vinted / chef-proxysql

Chef ProxySQL cookbook with auto loading and comprehensive configuration
MIT License
6 stars 9 forks source link

Features/add post statements #36

Closed ernestas-poskus closed 6 years ago

ernestas-poskus commented 6 years ago

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.