Hi.

I'm having trouble to write a custom type that accepts array as property. This is example of my custom type resource definition:

customtype { 'blah':
  myarray => ['a','b'],
}


This is what I've got in provider:

def myarray=(value)
  require 'pp'
  pp value
end


But pp prints only "a"... It would be really helpful if I could see example of array in custom type... So any help is appreciated.






--
Jakov Sosic
www.srce.unizg.hr

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" 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-users?hl=en.

Reply via email to