The Shepherd’s Crown (A Discworld Novel) by Terry Pratchett.