Re: [Puppet Users] Globally used parameter

2014-09-22 Thread jcbollinger
On Friday, September 19, 2014 2:25:34 PM UTC-5, Jose Luis Ledesma wrote: > > Using hiera is probably the best solution. > > So that would mean creating 'server' as an hiera item, and having each class that wanted it look it up as $server = hiera('server') That's basically the property file

Re: [Puppet Users] Globally used parameter

2014-09-19 Thread José Luis Ledesma
Using hiera is probably the best solution. Regards, El 19/09/2014 14:14, "Marco Dürrwächter" 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

[Puppet Users] Globally used parameter

2014-09-19 Thread Marco Dürrwächter
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