A bushfire raging for 21 days is finally contained, thanks to a cool change and rain bringing welcome relief for emergency crews.