On Mar 30, 2012, at 7:16 AM, Trevor Vaughan wrote:
> All,
>
> Is it possible to create a new type based on a different type?
>
> I'd like to do basic inheritance, but I'm not having much luck syntactically.
It at least used to be possible with something like:
Puppet::Type.newtype(:foo, :parent => :bar) { … }
But I think tidy was the only thing that used it, and it might have either been
removed or ignored for the last three years and thus no longer quite work.
--
Luke Kanies | http://about.me/lak | http://puppetlabs.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.