Ask Your Question

what happens when master runs with "puppet agent --test"

asked 2014-02-11 08:46:51 -0600

Colin Gong gravatar image

updated 2014-02-11 08:51:02 -0600

What's the communication style between master and agent? I know puppet uses the "pull" mode for each node to get its own catalog. But if the agent is not running in demon mode, how can puppet master invoke the agent to run? Through ssh? Or invoke agents using mcollective?

Waiting for your reply.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-11 11:20:37 -0600

spuder gravatar image

updated 2014-02-11 23:52:21 -0600

The puppet agent is configured to run at a specific interval. The default is 30 minutes. You can change how often agent pulls the catalog by modifying the runinterval setting.


By applying the --test parameter to puppet agent, you are creating an override to pull the latest catalog immediately.

Once a node has done the initial catalog pull, it is possible to force new pulls from the puppet master. There are two common methods to accomplish this:

  • Using mcollective.

The web interface on the puppet master basically executes a mcollective ... (more)

edit flag offensive delete link more


Thank you for your reply. But I want to know how can master invoke the client to run. As far as I know, the master have no connection to the clients.

Colin Gong gravatar imageColin Gong ( 2014-02-11 20:55:55 -0600 )edit

I've updated the answer with additional information

spuder gravatar imagespuder ( 2014-02-11 23:52:52 -0600 )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


Asked: 2014-02-11 08:46:51 -0600

Seen: 4,598 times

Last updated: Feb 11 '14