Hi gents, i have some Debian hosts that should get a standard desktop and it will be Puppets job to make sure the packages are installed. However, it seems ,,package'''' only installs packages, not Debian tasks. Right i have to get a list of packages manually, like this: tasksel -t --task-packages gnome-desktop --task-packages german- desktop --task-packages desktop I get a list of 55 packages, wich i then use like this: package { ["epiphany-browser","gnome","openoffice.org-gnome" ... and 52 more packages]: ensure => installed } However, what if the selection of packages changes? Is there a more clever way to install tasks with tasksel, without listing each and every package the tasksel task is made of? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thu, Nov 11, 2010 at 9:28 AM, tecneeq <tecneeq@googlemail.com> wrote:> > However, what if the selection of packages changes? Is there a more > clever way to install tasks with tasksel, without listing each and > every package the tasksel task is made of? >Have you tried the meta-package gnome-desktop-environment? -- $ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe ''s/(.)/chr(ord($1)-1)/ge'' -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 12 Nov., 02:42, Joel Merrick <joel.merr...@gmail.com> wrote:> > However, what if the selection of packages changes? Is there a more > > clever way to install tasks with tasksel, without listing each and > > every package the tasksel task is made of?> Have you tried the meta-package gnome-desktop-environment?The package you mention is one of the 55 packages installed by the tasksel tasks. I guess tasksel tasks have to be installed with exec then. MFG, Karsten Kruse -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, Nov 12, 2010 at 3:36 AM, tecneeq <tecneeq@googlemail.com> wrote:> On 12 Nov., 02:42, Joel Merrick <joel.merr...@gmail.com> wrote: > >> > However, what if the selection of packages changes? Is there a more >> > clever way to install tasks with tasksel, without listing each and >> > every package the tasksel task is made of? > >> Have you tried the meta-package gnome-desktop-environment? > > The package you mention is one of the 55 packages installed by the > tasksel tasks. > > 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''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. 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, }> > > MFG, > > Karsten Kruse > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > >-- 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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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?> 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.> 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? MFG, Karsten Kruse -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Tue, Nov 16, 2010 at 2:39 AM, tecneeq <tecneeq@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.