run chef-client every 30min, make partition script more robust and more intelligent

Change-Id: Ic2f8a3d769a55653dff4824cd7abd1b1c92c8676