grep was dropped in Ruby 1.9.3; make this more universal
refactor the chef provisioners
we should always flatten and compact these arrays
refactor chef provisioners