Munster lock Paul O'Connell has put an end to speculation over his future by signing a new two-year contract with the IRFU.