I am able to access the various parameter values in insync? etc...,
using resource[:value]. However, in munge, all references to the
property values are coming back empty.
Something like:
newparam(:bar) do ... end
newproperty(:foo) do
def insync?(is)
debug(resource[:bar]) <-- works
....
end
munge do |value|
value = "#{value} #{resource[:bar]}" <--- empty
end
end
Thanks,
Trevor
--
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
[email protected]
-- This account not approved for unencrypted proprietary information --
--
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.