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 {
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: