Ask Your Question
0

Assign Manifest Module based on Server Role

asked 2013-10-18 19:27:31 -0500

romenyrr gravatar image

I just finished completing the tutorial and read through the documentation of setting up manifests/classes/modules and boy is this exciting!!! I've configured a MySQL module and Apache Module. Now let's say I have the puppet-agent running on two servers, Server A (apache) & Server B (mysql). How could I have the puppet agent on each machine know which module to grab? Is this possible to do or would I just have to apply both modules?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2013-10-18 19:45:55 -0500

Ancillas gravatar image

updated 2013-10-18 19:46:13 -0500

Check out this documentation on classifying nodes.

We use naming standards and site.pp. Other people use hiera_include() and their hiera hierarchy. Still others use an external node classifier (ENC). Really it comes down to what works best for you and your team.

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

Stats

Asked: 2013-10-18 19:27:31 -0500

Seen: 122 times

Last updated: Oct 18 '13