On Tue, Nov 16, 2010 at 2:39 AM, tecneeq <tecn...@googlemail.com> wrote:
> On 13 Nov., 18:14, Nigel Kersten <ni...@puppetlabs.com> wrote:
>
>> > I guess tasksel tasks have to be installed with exec then.
>>
>> I was under the impression tasksel was largely being deprecated in
>> favor of meta-packages. What Debian are you on?
>
> I never heard something like that. Do you have a source?

Once I actually looked it up, I don't have a good reason for thinking that.

The Debian wiki doesn't say anything along those lines, but the Ubuntu
site says:

https://help.ubuntu.com/community/Tasksel

"This function is similar to that of meta-packages, and, in fact, most
of the tasks available from tasksel are also available as
meta-packages from the Ubuntu package managers (such as Synaptic
Package Manager or KPackageKit)."

which is possibly where I got the impression from.

>
>> I'm not sure we can easily shoe-horn tasks into the existing apt
>> provider, unless we looked at tasks if a given package isn't found
>> (are there any namespace collisions between tasks and packages?), but
>> I reckon it's feasible to write a package provider that only used
>> tasks.
>
> There aren't any namespace conflicts.

Is this by design? Can we rely upon there never being any namespace
conflicts here?

>
>> Would you find it acceptable to have to specify a tasksel provider
>> when doing what you're trying to do?
>>
>> e.g.
>>
>> package { "gnome-desktop":
>>   provider => tasksel,
>>   ensure   => installed,
>> }
>
> I would find that solution very acceptable indeed :).
>
> Any chance a change like that would make it into Debian squeeze before
> release?

Probably not, although because this is a new provider (that none of us
have actually written yet :) ), you could easily distribute it with
pluginsync to your clients.




-- 
Nigel Kersten - Puppet Labs -  http://www.puppetlabs.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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