Ok this is fixed.

On Fri, Jun 28, 2013 at 06:07:14AM -0700, Dominic Cleal wrote:
> > @@ -131,4 +131,15 @@
> >  
> >    $dns_forwarders = []
> >  
> > +  # Proxy can register itself within a Foreman instance
> > +  $register_in_foreman = true
> > +  # Foreman instance URL for registration
> > +  $register_api_base_url = "https://${::fqdn}"
> 
> I think this parameter name is slightly misleading, the api endpoint is at /api, but this doesn't include it.  I'd prefer foreman_base_url or similar, as we might want to reuse it... @GregSutcliffe is working on proxying requests via the proxy so a more generic name could be reused later.
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/theforeman/puppet-foreman_proxy/pull/67/files#r4937928

-- 
Later,

 Lukas "lzap" Zapletal
 irc: lzap #theforeman