On Thursday, 21 June 2012 14:04:05 UTC-4, Stefan Schulte wrote:
 

> In my opinion these changes should fix all the issues above. One issue 
> will 
> still exists though: You can install multiple versions of the same package 
> (slots): 
>
>     # portageq match / autoconf 
>     sys-devel/autoconf-2.13 
>     sys-devel/autoconf-2.69


One option here might be to allow or require that people specify the slot 
as part of the package name, e.g.

package { 'sys-devel/autoconf:2.5': }

which then runs "portageq match / sys-devel/autoconf:2.5", and gets back 
just sys-devel/autoconf-2.69.

I don't really now what puppet should return as the current version 
> here. 
>

In the case where the user doesn't specify a slot, you should return the 
newest package version in any slot.
 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/bS8G-IOerfUJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to