theforeman/smart-proxy — pull request #45 by domcleal (2012-11-28 09:39:51+00:00)
Title: fixes #1983 - use /etc/puppet/puppet.conf by default

When initialising Puppet 3 settings directly, a config dir or file is required,
so default to /etc/puppet/puppet.conf (as the puppetca code also does).

(As mentioned in the commit message, the puppetca code already has a fallback for /etc/puppet, so the environments code should do the same.)