How foreman talk to puppet?

Hi all,

can someone tell me how foreman talk to puppet ? RestAPI or how?

thanks in advance

Not sure what you are looking for exactly, but basically yes, it’s REST APIs.
Puppet “talks” to Foreman via some ruby scripts (mainly node.rb and foreman.rb) that access Foreman’s REST API.
If Foreman needs to talk to Puppet, that is handled through the smart-proxy, also via REST API.

Regards

2 Likes

thank you for your answer @areyus,
my question was auch communicate puppet with foreman.