On Jun 23, 2011, at 3:33 PM, Carl Caum wrote: > I'm working on a provider and noticed my getter method for parameters can't > pass back a hash or embedded array. I need the user to pass in a hash for a > parameter. If the getter method can't return a hash, I don't see how I can > see if the property is in sync. > > This gist shows an example: https://gist.github.com/1043779 > > Here's the return of 'ralsh sampletype': > > sampletype { 'bar': > ensure => 'present', > hash_param => 'param1value1param2value2', > } > sampletype { 'foo': > ensure => 'present', > hash_param => 'param1value1param2value2', > } > > > Is this a bug?
Yes - as Dan (I think) discovered, Puppet doesn't have hash support all the way through to printing, apparently. -- The whole secret of life is to be interested in one thing profoundly and in a thousand things well. -- Horace Walpole --------------------------------------------------------------------- Luke Kanies -|- http://puppetlabs.com -|- http://about.me/lak -- 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.
