What is the meaning of Quartermaster?

An officer whose duty is to provide quarters, provisions, storage, clothing, fuel, stationery, and transportation for a regiment or other body of troops, and superintend the supplies. Master of quartering.

A petty officer who attends to the helm, binnacle, signals, and the like, under the direction of the master. Once master of the quarterdeck.

A leadership position within a troop whose responsibility it is to track and maintain the troop's equipment, for example stoves, Dutch ovens, utensils, and tents.

To act as a quartermaster

Source: wiktionary.org