A primary school is partially closed for the next two days due to a vomiting and diarrhoea bug that has spread.