Re: [Puppet-dev] Re: Accessing resource attributes

2015-07-31 Thread R.I.Pienaar
- Original Message - > From: "Henrik Lindberg" > To: "puppet-dev" > Sent: Friday, July 31, 2015 2:10:05 PM > Subject: [Puppet-dev] Re: Accessing resource attributes > On 2015-31-07 12:35, R.I.Pienaar wrote: >> I just noticed last night we can

[Puppet-dev] Re: Accessing resource attributes

2015-07-31 Thread Henrik Lindberg
On 2015-31-07 12:35, R.I.Pienaar wrote: I just noticed last night we can now access resource and class attributes: define x($y) { } x{"foo": y => "bar"} notice(X["foo"]["y"]) this works, yay with the obvious parsing order caveats. This works too: define x($y) { noti

[Puppet-dev] Re: Accessing resource attributes - supported language construct?

2009-09-08 Thread Jan
A feature request has been filed. http://projects.reductivelabs.com/issues/2611 On Sep 7, 1:03 pm, Jan wrote: > Hi, > > I came across a use case where I would like to access a value of an > attribute of a particular resource. I cannot find anything like this > in the documentation. I tried pol