Ask Your Question
0

easiest way to determine how a class is assigned to a node

asked 2017-06-12 10:02:27 -0500

sboss gravatar image

I am trying to identify how a given puppet class is assigned/matched to a node. I cant find a "classification" that has the class.

Thanks! sb

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-06-12 15:04:46 -0500

rajeevsharma gravatar image

Hi, If you are tyring to find out which class has been assinged to which node (on console) then the better way to navigate your node. You can find all the nodes in overview tab. As soon as you click on nodes you can see class tab which will tell you the list of classes tagged with that particular node.

I know this is not the exact solution if you are willing to find the list of nodes tagged with any particular class. However you can achieve this using mco (mcollective command) and query your infra using Host filters Please find the details here.

edit flag offensive delete link more

Comments

I can not find in the console where a given class is being assigned to the node(s). Hence why i am trying to figure out how it is being included in the catalog for the nodes. I will look at mco. thanks for the answers.

sboss gravatar imagesboss ( 2017-06-13 08:02:28 -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

Stats

Asked: 2017-06-12 10:02:27 -0500

Seen: 29 times

Last updated: Jun 12