A shortage of rock salt and ice melt has Massachusetts communities planning for weeks ahead this winter season.