Ask Your Question
0

What is happening when a catalog is POSTed to a puppet server?

asked 2014-10-15 09:06:32 -0500

james gravatar image

The agent appears to be posting it. What happens to it? Does it get compared to previous catalogs?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-17 14:44:43 -0500

cbarbour gravatar image

The client requests the catalog using a POST request; the actual catalog is sent from the master to the client in response to the POST. If I recall correctly, facts and other metadata are sent as part of this request, but I may be mistaken; it's been a long time since I did log or traffic analysis on the Puppet communication channel.

The client doesn't ever send the catalog back to the master. It does however submit it's facts and run report (assuming reporting is enabled.)

edit flag offensive delete link more

Comments

A client requests a catalog using POST? I see. I didn't expect that. Thanks a lot. Does the server behave differently when storeconfigs is enabled when the client submits the facts and report?

james gravatar imagejames ( 2014-10-17 15:10:47 -0500 )edit

Storeconfigs happen on the back-end. It doesn't really have an impact on the client/server communication. Fact collection, reporting, etc will happen even if storeconfigs isn't enabled.

cbarbour gravatar imagecbarbour ( 2014-10-17 19:36:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-10-15 09:06:32 -0500

Seen: 64 times

Last updated: Oct 17 '14