Re: [Puppet Users] Re: Variables inside variables

2016-03-31 Thread Jonathan Gazeley
Great, thanks! On 31/03/16 11:21, Daniel Sung wrote: I achieve this by using the getvar function in stdlib. For example: getvar("::network_${::gateway_dev}") Regards, Daniel On Thursday, 31 March 2016 11:04:45 UTC+1, Jonathan Gazeley wrote: Hi folks, Short version: I want to us

[Puppet Users] Re: Variables inside variables

2016-03-31 Thread Daniel Sung
I achieve this by using the getvar function in stdlib. For example: getvar("::network_${::gateway_dev}") Regards, Daniel On Thursday, 31 March 2016 11:04:45 UTC+1, Jonathan Gazeley wrote: > > Hi folks, > > Short version: > > I want to use a variable inside a variable to access a fact. Is this