Calling `Puppet.settings.use` here isn't a good idea. It forces puppet to apply a settings catalog, which it has probably already done. I think this line should just go away.