Chef10 compatibility check in provider