Ask Your Question

Is there a way to list all packages that puppet manages for a given agent?

asked 2015-11-13 02:24:04 -0600

schowdhury gravatar image

I first thought the answer to this question is to run the following on the puppet agent:

$ puppet resource package

However I suspect this lists a lot more than just what puppet manages, i.e. I think it lists all (top-level) rpms that are directly managed by puppet, along with all the top-level rpm's dependencies. In my case I'm just interested in listing out the top level rpms.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-13 08:36:14 -0600

scoffland gravatar image

You can add parameters like this, "puppet resource package --param --title paramiko" if you want to search for a package.

I don't think there is a way to differential between packages you have specified in you manifests and dependencies however from RAL.

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


Asked: 2015-11-13 02:24:04 -0600

Seen: 529 times

Last updated: Nov 13 '15