Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title David Schmitt assigned an issue to Unassigned Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: David Schmitt Team: Network Automation Coremunity Assignee: David Schmitt Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.43382.1406157609000.110932.1569320460303%40Atlassian.JIRA.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title David Schmitt commented on PUP-2968 Re: Make it possible to namespace ruby-defined custom types I've started poking more into this. The first two changes needed are this: diff --git a/lib/puppet/metatype/manager.rb b/lib/puppet/metatype/manager.rb index eacfebbc1..d1df35e11 100644 --- a/lib/puppet/metatype/manager.rb +++ b/lib/puppet/metatype/manager.rb @@ -151,9 +151,9 @@ module Manager # def type(name) # Avoid loading if name obviously is not a type name -if name.to_s.include?(':') - return nil -end +# if name.to_s.include?(':') +# return nil
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title David Mallon updated an issue Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: David Mallon Team: Network Automation Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- 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 https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title David Schmitt commented on PUP-2968 Re: Make it possible to namespace ruby-defined custom types Some notes from a initial design and brainstorming session with Henrik Lindberg: puppet generate types; modify type name in generated output; see what breaks, might come up through 4x loaders there is a optimisation somewhere avoiding type lookup when a qualified name is encountered agent side: problematic because of the type <-> class mapping. Needs breaking up. Maybe possible to inject a switch to lookup new-style types when namespaced typenames. how does rspec-puppet, and PE console react to namespaced resources? puppet generate types output could already stand alone for the server, would need more scaffolding on the agent, see CompilableResourceType better: define a puppet datatype instead, mark it through inheritance from a marker type; similar to Struct Loaders: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/pops/loaders.rb smartpaths: https://github.com/puppetlabs/puppet/blob/e7839794a1d7d393e6716927764c1276494123c2/lib/puppet/pops/loader/loader_paths.rb pluginsync also needs to be modified to download the required information Add Comment
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title David Schmitt updated an issue Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types I've added this to the list of long-term improvements in the Resource API. Change By: David Schmitt Team: Platform Core Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- 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 https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Henrik Lindberg assigned an issue to David Schmitt Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: Henrik Lindberg Assignee: Henrik Lindberg David Schmitt Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- 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 https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Josh Cooper assigned an issue to Henrik Lindberg Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: Josh Cooper Assignee: Kylo Ginsberg Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- 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 https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Josh Cooper updated an issue Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: Josh Cooper Team: Platform Core Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- 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 https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: Moses Mendoza Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Russell Mull updated an issue Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: Russell Mull Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: Henrik Lindberg Component/s: Server Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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/d/optout.
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Henrik Lindberg commented on an issue Re: Make it possible to namespace ruby-defined custom types This is something we are working towards. In 4.0 (and available in 3.7 --parser future) there is a new loader that loads functions using the 4x function API. (This means you can namespace functions). It is our intention to use the new loader for loading all kinds of things, and we plan to have this as an experimental feature for resource types during the 4x series with the aim of making it standard in Puppet 5.0. Add Comment Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Refreshing feature request #16401 from the old issue tracker (opened 2 years ago, listed as open), it would be great from a UX standpoint if it were possible to namespace ruby-defined custom types. From the original request: When working on a module that contains a mix of types that are defined via puppet manifests and via ruby code, it would ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Henrik Lindberg commented on an issue Re: Make it possible to namespace ruby-defined custom types Marking this as being blocked by Biff the catalog builder, since that issue is the umbrella for the new compiler (which includes a new way/API for defining custom resource types). Add Comment Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Refreshing feature request #16401 from the old issue tracker (opened 2 years ago, listed as open), it would be great from a UX standpoint if it were possible to namespace ruby-defined custom types. From the original request: When working on a module that contains a mix of types that are defined via puppet manifests and via ruby code, it would ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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,
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Mark Whittington created an issue Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Issue Type: New Feature Assignee: Kylo Ginsberg Components: Types and Providers Created: 23/Jul/14 4:20 PM Priority: Normal Reporter: Mark Whittington Refreshing feature request #16401 from the old issue tracker (opened 2 years ago, listed as open), it would be great from a UX standpoint if it were possible to namespace ruby-defined custom types. https://projects.puppetlabs.com/issues/16401 Thanks. Add Comment
Jira (PUP-2968) Make it possible to namespace ruby-defined custom types
Title: Message Title Mark Whittington updated an issue Puppet / PUP-2968 Make it possible to namespace ruby-defined custom types Change By: Mark Whittington Refreshingfeaturerequest#16401fromtheoldissuetracker(opened2yearsago,listedasopen),itwouldbegreatfromaUXstandpointifitwerepossibletonamespaceruby-definedcustomtypes. Fromtheoriginalrequest:Whenworkingonamodulethatcontainsamixoftypesthataredefinedviapuppetmanifestsandviarubycode,itwouldbereallyniceforallofthetypestobenamespacedthesamewayfortheenduser.So,e.g.,whenworkingonthepuppetdbmodule,Iamgoingtoendupwithonetypedefinedamanifestthattheuserwillaccessas:puppetdb::fooandanotheronethatisdefinedviarubythattheywillaccessas:puppetdb_barThat’sabummerasfarasUXgoes,butIdon’tthinkit’scurrentlypossibletogetthe“::”’sintothenameornamespaceofaruby-definedtype. https://projects.puppetlabs.com/issues/16401Thanks. Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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/d/optout.