[COOK-3773] Fixing immediate restarts on template

https://tickets.opscode.com/browse/COOK-3773

* Fix immediate restarts called by initial `my.cnf` template