While she woke her flatmate and went to raise the alarm with the emergency services herself, it sent panic through the eight flats in the two-storey block.
Her petrified flatmate leapt to safety from the second floor window.
Another young mother was so scared she ran out of the burning building, leaving her child behind, Christchurch District Court heard today.
It was only a matter of "good luck'', Crown prosecutor Kathy Basire said, that no one was killed in the blaze, which firefighters arrived to find well-involved.
McMaster presented an apology letter to the court today, which although Judge Paul Kellar said had come "at the 12th hour'', was an admittance of guilt nonetheless.
Judge Kellar said the potential for serious harm to the block of flats' sleeping occupants was "grave''.
As well as the emotional harm McMaster caused, insurers had also paid out around $95,000 to the landlord and flats' owner for the extensive damage the fire caused, as well as compensation for loss of income.
He jailed her for four years on the arson charge, plus a cumulative sentence of five months for dishonest use of an Eftpos card, and a concurrent one-month sentence for a breach of community work.