Issue #23212 has been updated by Josh Cooper. Branch changed from master/stable to https://github.com/puppetlabs/puppet/pull/2092
---------------------------------------- Bug #23212: Types not inheriting parameters and properties from given parent https://projects.puppetlabs.com/issues/23212#change-100208 * Author: Bert Hajee * Status: Unreviewed * Priority: Normal * Assignee: Bert Hajee * Category: API * Target version: 3.3.2 * Affected Puppet version: 3.3.2 * Keywords: custom types * Branch: https://github.com/puppetlabs/puppet/pull/2092 ---------------------------------------- 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: <pre> 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 </pre> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
