Placement of Variables in Puppet module

Posted by Michael Duffy on Server Fault See other posts from Server Fault or by Michael Duffy
Published on 2011-03-15T15:40:23Z Indexed on 2011/03/15 16:12 UTC
Read the original article Hit count: 248

Filed under:
|

Hi guys;

I've got a puppet module to setup several Gigaspaces PU's. Each of these have quite a few variables to be placed within the configuration file templates. We're also using several different environments so these variables are repeated several times to contain the values for each environment.

My question is where the best place to store these variables would be? A class of their own, an external .pp I import, or something other?

© Server Fault or respective owner

Related posts about puppet

Related posts about variables