Possible to import existing puppet agents into foreman?

I have Katello(foreman) setup and connected to an existing puppetmaster
using the foreman-proxy.

This puppetmaster has something like 300 agents reporting to it.

How do I get those agents to show up in the hosts list in foreman or is
this even possible?

I don't want to reconfigure the hosts to talk to foreman directly as we
would like to keep using the existing puppetmaster servers (we have several
for different environments)

Maybe I was mistaken, but I thought when a puppet agent reported to the
puppetmaster running the foreman proxy, that host would just automatically
show up in foreman?

Hey,

I'm still newish to this too - but I've got the reports feeding into
foreman from puppet master (which are not managed via proxy) using this
http://theforeman.org/manuals/1.3/index.html#3.5.4PuppetReports

I've also sending the facts every couple of minutes as foreman isn't an ENC
for me.

Hope this helps.

Cheers
David

ยทยทยท On Saturday, 11 April 2015 04:36:06 UTC+9:30, Nathan Peters wrote: > > I have Katello(foreman) setup and connected to an existing puppetmaster > using the foreman-proxy. > > This puppetmaster has something like 300 agents reporting to it. > > How do I get those agents to show up in the hosts list in foreman or is > this even possible? > > I don't want to reconfigure the hosts to talk to foreman directly as we > would like to keep using the existing puppetmaster servers (we have several > for different environments) > > Maybe I was mistaken, but I thought when a puppet agent reported to the > puppetmaster running the foreman proxy, that host would just automatically > show up in foreman? >

Yes, you are right, I was mistaken. I just re-read the manual and realized
that the smart proxy on a puppet server is limited to environment/class
imports and puppetrun functionality.

It appears it is still necessary to manually configure the ENC and
reporting functionality.

Thanks.