Add version constrain to yum cookbook