Issue #11865 has been updated by Jeff McCune.

@kelsey I think doing as much as we can to help keep things in order is a great 
idea.  Based on the difficulty teaching module organization in training and the 
results of Project Empathy, I think a solution that doesn't rely on convention 
or implicit subdirectories is in order.

I think users prefer long, explicit URI's, to short, implicit URI's.

So maybe "puppet:///modules/mymodule/packages/solaris/CSWpkgutil.pkg"

Yes, it's long but it's a lot easier to explain to new users.

If we use "puppet:///modules/mymodule/foo.pkg"

We'll have to explain the following things to new puppet users

 * Magic triple-slash
 * Implicit 'packages' subdirectory
 * Why it's 'packages' and not 'files' for file resources.
 * implicit {pkgdmg, appdmg, msi, etc...} subdirectory and how to predict which 
ones will be used.
----------------------------------------
Feature #11865: Package providers that support a "source" parameter should 
allow for puppet:/// URL sources
https://projects.puppetlabs.com/issues/11865

Author: Nigel Kersten
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Rather than having to store packages on an http server, it would be 
significantly less friction if we could instead do:

<pre>
package { "foo":
  source => "puppet:///modules/mymodule/foo.pkg",
}
</pre>

The providers that should support this are:

  * pkgdmg
  * appdmg
  * msi
  * dpkg
  * rpm

As well as whatever Solaris providers work this way.





-- 
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