fixed puppet configuration to remove obsolete files when installing new media magpie version