Need some help here. I am using puppet to mange some Gentoo boxes, and when working with packages I keep getting the following error: Could not find a default provider for package Version: * app-admin/puppet Latest version available: 0.25.0-r1 Latest version installed: 0.25.0-r1 Size of files: 592 kB Homepage: http://reductivelabs.com/projects/puppet Description: A system automation and configuration management software License: GPL-2 Contents of the manifest: class transcoder::packages { package{''mjpegtools'': name => ''mjpegtools'', category => ''media-video'', ensure => installed, } } Im new to puppet, not exactly sure what Im wrong. Anyone have any Ideas? - Thanks! -- 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.
Patrick Mohr
2011-Jun-19 07:01 UTC
Re: [Puppet Users] Could not find a default provider for package
On Sat, Jun 18, 2011 at 6:24 PM, d0ugb <d0ugb1@gmail.com> wrote:> Need some help here. I am using puppet to mange some Gentoo boxes, and > when working with packages I keep getting the following error: > > Could not find a default provider for package > > Version: > > * app-admin/puppet > Latest version available: 0.25.0-r1 > Latest version installed: 0.25.0-r1 > Size of files: 592 kB > Homepage: http://reductivelabs.com/projects/puppet > Description: A system automation and configuration management > software > License: GPL-2 >1) I really recommend avoiding versions of puppet whos versions end with a ".0" if you want a stable version. 2) This error means that puppet can''t decide which "provider" to use for installing. In the case of Ubuntu, this would be "Apt". 3) Look at the type reference http://docs.puppetlabs.com/references/0.25.0/type.html#package and find the section talking about "provider". One of them should mention the comment you use for launching the package manager. (probably the one mentioning emerge) 4) It says catagory is read-only, so remove that. 5) I think "name" isn''t needed. After your manifest is working, try removing that. 6) You might want to try to figure out why it didn''t get the right provider. -- 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.
Christian Kauhaus
2011-Jun-20 12:04 UTC
Re: [Puppet Users] Could not find a default provider for package
Am 19.06.2011 03:24, schrieb d0ugb:> Need some help here. I am using puppet to mange some Gentoo boxes, and > when working with packages I keep getting the following error: > Could not find a default provider for packageI suspect that the portage package provider need ''eix'' to function. Is eix installed? Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · kc@gocept.com · systems administration gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 11 · fax +49 345 1229889 1 Zope and Plone consulting and development -- 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.
d0ugb
2011-Jun-20 13:31 UTC
[Puppet Users] Re: Could not find a default provider for package
Thanks for the help guys, I actually figured it out. We are using out own build of Gentoo, which didnt include the /etc/gentoo-release file. Therefore facter was not picking up the OS type, and didnt know what to use for a package manager. Thanks again for the help you guys are great! On Jun 20, 8:04 am, Christian Kauhaus <k...@gocept.com> wrote:> Am 19.06.2011 03:24, schrieb d0ugb: > > > Need some help here. I am using puppet to mange some Gentoo boxes, and > > when working with packages I keep getting the following error: > > Could not find a default provider for package > > I suspect that the portage package provider need ''eix'' to function. Is eix > installed? > > Regards > > Christian > > -- > Dipl.-Inf. Christian Kauhaus <>< k...@gocept.com systems administration > gocept gmbh & co. kg forsterstra e 29 06112 halle (saale) germanyhttp://gocept.comtel +49 345 1229889 11 fax +49 345 1229889 1 > Zope and Plone consulting and development-- 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.