Issue #16401 has been updated by eric sorenson.

Category set to language
Status changed from Unreviewed to Investigating
Assignee set to Daniel Pittman

(Assigning for the moment to Daniel as a proxy for Mateusz)

Daniel do you know whether this is possible in the rewritten ruby dsl?
----------------------------------------
Feature #16401: make it possible to namespace ruby-defined types
https://projects.puppetlabs.com/issues/16401#change-72728

Author: Chris Price
Status: Investigating
Priority: Normal
Assignee: Daniel Pittman
Category: language
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


When working on a module that contains a mix of types that are defined via 
puppet manifests and via ruby code, it would be really nice for all of the 
types to be namespaced the same way for the end user.

So, e.g., when working on the puppetdb module, I am going to end up with one 
type defined a manifest that the user will access as:

   puppetdb::foo

and another one that is defined via ruby that they will access as:

   puppetdb_bar

That's a bummer as far as UX goes, but I don't think it's currently possible to 
get the "::"'s into the name or namespace of a ruby-defined 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 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-bugs?hl=en.

Reply via email to