[Puppet-dev] Accessing resource attributes

2015-07-31 Thread R.I.Pienaar
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) { notify{$name: message => $y } } class one {

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

2009-09-07 Thread Jan
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 polling the user discussion group with no success. Essentially, I am trying to do something like this: $cacert_path = Base: