When PuppetDB started misbehaving, it took us quite a while to realize the problem was somewhere else…