Move skip_federated check inside my.cnf template resource