Puppet::Type.instances internals?

15 views
Skip to first unread message

gasp...@gmail.com

unread,
Jul 7, 2016, 11:00:22 AM7/7/16
to Puppet Developers
Hi all!

I'm trying to implement puppet resource functionality for gce_compute module (like listing users with puppet resource user) and I've just found that Puppet::Type.internals just passes name to the type initialization, removing all other data

result = new(:name => instance.name, :provider => instance)

Is there any reasoning why only name is passes into the instantiation method?

Thanks in advance
/Gaspar
Reply all
Reply to author
Forward
0 new messages