The puppet.conf file is always located at $confdir/puppet.conf.
Although its location is configurable with the config setting, it can only be set on the command line (e.g. puppet agent -t --config ./temporary_config.conf).
The location of the confdir depends on your OS.
Source: puppet docs.