While Chef itself doesn’t really have a notion of pre-requisites you could definitely craft a recipe to exit if the Ohai values weren’t of a certain value. Right thing is somewhat difficult to suss out here without more context but this isn’t terrible though may would advocate avoiding this check by ensuring these roles/recipes are not assigned to underpowered nodes.