On Mar 23, 2010, at 2:11 PM, Martin Englund wrote:

I'm working on a modification of the zone type (bug #3399) and I need
to reference the value of a property I'm adding from an existing
property, but I've not been able to figure out how to do that. The
documentation only lists some easy cases :)

Any pointers how to do that?

resource[:propertyname] should do it.

It was more complicated in previous versions, but that should work, I think, in 0.24.8 and 0.25.*.

Please let me know if that doesn't work for you and I can try to help you sort the rest out.

--
The conception of two people living together for twenty-five years
without having a cross word suggests a lack of spirit only to be
admired in sheep. --Alan Patrick Herbert
---------------------------------------------------------------------
Luke Kanies  -|-   http://reductivelabs.com   -|-   +1(615)594-8199

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to