Jira (PUP-3966) Short paths for source and template()
Title: Message Title Josh Cooper commented on PUP-3966 Re: Short paths for source and template() I agree puppet:///modules/$module_name/path/to/file.ext can be verbose but there hasn't been any movement on this in a while, so I'm closing due to lack of activity. 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.66935.1423156531000.34422.1579752300987%40Atlassian.JIRA.
Jira (PUP-3966) Short paths for source and template()
Title: Message Title Henrik Lindberg assigned an issue to Unassigned Puppet / PUP-3966 Short paths for source and template() Change By: Henrik Lindberg Assignee: Henrik Lindberg 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-3966) Short paths for source and template()
Title: Message Title Henrik Lindberg commented on PUP-3966 Re: Short paths for source and template() It needs to be backwards compatible. This means we cannot take a relative name to mean something other than what it used to mean. The functions makes a URI out of the given "path" and interprets "puppet:", then it either accepts an absolute file name or a relative. The relative must start with the a path segment that is the module name. For the references that are resolved via functions (for example 'template' and 'epp') we could accept a filename $f = "template.erb" (no path separators) to be resolved to the same as if $f = "$module_name/template.erb". For source it is more complicated as that happens much later when there is no $module_name variable to use. I could imagine using different URI schemes, a "self:template.erb" could resolve to "this module", a "module::foo::template.erb" to a template in module foo, etc. 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-3966) Short paths for source and template()
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-3966 Short paths for source and template() 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-3966) Short paths for source and template()
Title: Message Title Moses Mendoza commented on PUP-3966 Re: Short paths for source and template() Henrik Lindberg thoughts? 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-3966) Short paths for source and template()
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-3966 Short paths for source and template() Change By: Moses Mendoza Team: Agent 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-3966) Short paths for source and template()
Title: Message Title Sean McDonald updated an issue Puppet / PUP-3966 Short paths for source and template() Change By: Sean McDonald 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-3966) Short paths for source and template()
Title: Message Title Moses Mendoza assigned an issue to Henrik Lindberg Puppet / PUP-3966 Short paths for source and template() Change By: Moses Mendoza Assignee: Henrik Lindberg 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-3966) Short paths for source and template()
Title: Message Title Daniele Sluijters created an issue Puppet / PUP-3966 Short paths for source and template() Issue Type: New Feature Assignee: Unassigned Created: 2015/02/05 9:15 AM Priority: Normal Reporter: Daniele Sluijters When writing Puppet modules the file attribute can take either a source or a content, the latter taking a template() call. In its current state a path passed to source is almost always puppet:///modules/$module_name/path/to/file.ext. This feels ridiculously verbose. Can we make it so that we can use path/to/file instead and have Puppet infer the puppet:///modules/$module_name for us? The same thing for template: template($module_name/path/to/template.erb) could simply be template(template.erb). The long syntax should still be supported if you need to refer to files/templates outside of your own module. Add Comment