Using hiera is probably the best solution. Regards, El 19/09/2014 14:14, "Marco Dürrwächter" <[email protected]> escribió:
> Hi, > > I'm searching for the best way to use parameter in multiple modules. > > Example: I am declaring a variable $port in module 'server' and I need > this variable in module 'firewall' to open this port. If i have to change > this variable I actually have to change 4 Variables in 4 modules. > > Is there a way to load variables from a property file, or an extra > 'settings' module? > What would be the best solution? > > Greets, > Marco > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/e38822b8-bd6a-4156-800f-ac9592f8b950%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/e38822b8-bd6a-4156-800f-ac9592f8b950%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAF_B3de1H3KAithH-od3LK1QKJ2BCYTXXfQxx%3DfDU9Xw2Tokqg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
