COOK-4307 Add check to ensure initial my.cnf handling is only done on first setup.  Also, delay restarting mysqld until end of chef-client run.