Issue #23212 has been reported by Bert Hajee. ---------------------------------------- Bug #23212: Types not inheriting parameters and properties from given parent https://projects.puppetlabs.com/issues/23212
* Author: Bert Hajee * Status: Unreviewed * Priority: Normal * Assignee: * Category: API * Target version: 3.3.2 * Affected Puppet version: 3.3.2 * Keywords: custom types * Branch: master/stable ---------------------------------------- When using a custom type, I want to inherit the properties and parameter of the parent type. For example using the following ora type as a parent for managing ant oracle related resource: module Puppet newtype(:ora) do newparam(:sid) do desc "The SID to use to connect to the database. There is no default." end end module Puppet newtype(:ora_tablespace, :parent => Puppet::Type::Ora) do newparam(:name) do desc "The database name" isnamevar end end end attached find an changed rspec and look for 'when inheriting from a parent type' -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.