Do you have a link for this #2128? All I can find are these: http://projects.puppetlabs.com/issues/2128 https://tickets.puppetlabs.com/browse/PUP-2128
I'm nosy about the why. If you need to map the package to the provider this seems like the perfect opportunity for create_resources(), but there's something else going on here. On Mon, Apr 21, 2014 at 02:25:22PM -0700, Matt W wrote: > Hey we have a problem that I think we need to solve with a custom Puppet > provider, but I could use a bit of help getting started. Overall the issue > of being able to install multiple packages at-once has been discussed a > ton of times (issue #2128 for example). We ultimately need to be able to > pass in an arbitrary list of packages (and their versions) to a > package-like provider in Puppet and have it install them all at once. For > example: > package { 'myapp': > packages => [ 'backend=1.0', 'frontend=1.1' ], > provider => some_custom_provider; > } > Ultimately the provider would need to validate that each and every > package supplied (backend, and frontend in this example) are either > installed or not. If not, they are all installed on one commandline: > aptitude install backend=1.0 frontend=1.1 -y -q -f > Should we just build a resource from scratch? or do you think we should > build a provider for the Package resource in Puppet and go from there? > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [1]puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > > [2]https://groups.google.com/d/msgid/puppet-users/5b98ce35-a9ff-4e76-89e7-a4d4475cedd3%40googlegroups.com. > For more options, visit [3]https://groups.google.com/d/optout. > > References > > Visible links > 1. mailto:puppet-users+unsubscr...@googlegroups.com > 2. > https://groups.google.com/d/msgid/puppet-users/5b98ce35-a9ff-4e76-89e7-a4d4475cedd3%40googlegroups.com?utm_medium=email&utm_source=footer > 3. https://groups.google.com/d/optout -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20140422200546.GA2782%40iniquitous.heresiarch.ca. For more options, visit https://groups.google.com/d/optout.