Ask Your Question
0

Forcing partial Puppet Agent runs

asked 2013-07-02 15:56:13 -0500

Mattias gravatar image

Considering a scenario where a normal Puppet run (master/client) takes between 2-3 minutes to run (because of a large amount of resources it manages), is it doable to force a partial Puppet run?

For instance: in automated scenarios where ENC's are used, I may want to do a more quick run to update only my config files, without having to check if all packages are installed and all services are running, reducing the size of my catalog.

How would you go about structuring your manifests/modules to make this happen? Seperate those runs in different environments? Like 'production ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-07-02 16:09:57 -0500

GregLarkin gravatar image

updated 2013-07-02 16:11:30 -0500

You should be able to get this working by using Puppet tags, and especially check the section describing how to limit Puppet runs to a portion of the catalog using tags.

Then you can continue to use environments as before and be able to test a "config only" run in your QA environment before deploying to production.

edit flag offensive delete link more

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: 2013-07-02 15:56:13 -0500

Seen: 443 times

Last updated: Jul 02 '13