modified lib to include a new custom fact that remembers what the agent thinks the puppetmaster is before wiping the hosts file