Hi:all when i run this command puppet agent --no-daemonize --debug I get "wrong number of arguments" all over the place: debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm --version'' wrong number of arguments (2 for 1) debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' wrong number of arguments (2 for 1) debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm --version'' wrong number of arguments (2 for 1) debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' wrong number of arguments (2 for 1) info: Caching catalog for node3.example.com debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist debug: Puppet::Type::Package::ProviderYum: false value when expecting true debug: Puppet::Type::Package::ProviderRpm: false value when expecting true *i can''t use yum to install any package!!!* facter-1.6.5 ruby-1.8.7 puppet-2.7.9 cat /etc/issue Red Hat Enterprise Linux Server release 5.4 (Tikanga) -- 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.
Bernd Adamowicz
2012-Mar-22 14:48 UTC
AW: [Puppet Users] i can''t use yum to install any package!!!
Post your manifest code. Bernd Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von ?? Gesendet: Donnerstag, 22. März 2012 14:29 An: puppet-users@googlegroups.com Betreff: [Puppet Users] i can''t use yum to install any package!!! Hi:all when i run this command puppet agent --no-daemonize --debug I get "wrong number of arguments" all over the place: debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm --version'' wrong number of arguments (2 for 1) debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' wrong number of arguments (2 for 1) debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm --version'' wrong number of arguments (2 for 1) debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' wrong number of arguments (2 for 1) info: Caching catalog for node3.example.com<http://node3.example.com> debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist debug: Puppet::Type::Package::ProviderYum: false value when expecting true debug: Puppet::Type::Package::ProviderRpm: false value when expecting true i can''t use yum to install any package!!! facter-1.6.5 ruby-1.8.7 puppet-2.7.9 cat /etc/issue Red Hat Enterprise Linux Server release 5.4 (Tikanga) -- 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<mailto:puppet-users@googlegroups.com>. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com<mailto:puppet-users+unsubscribe@googlegroups.com>. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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.
Peter Bukowinski
2012-Mar-22 14:50 UTC
Re: [Puppet Users] i can''t use yum to install any package!!!
On Mar 22, 2012, at 9:29 AM, 妖狐 wrote:> > Hi:all > when i run this command > puppet agent --no-daemonize --debug > > I get "wrong number of arguments" all over the place: > > debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm --version'' > wrong number of arguments (2 for 1) > debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' > wrong number of arguments (2 for 1) > debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm --version'' > wrong number of arguments (2 for 1) > debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' > wrong number of arguments (2 for 1) > info: Caching catalog for node3.example.com > debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist > debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist > debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist > debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist > debug: Puppet::Type::Package::ProviderYum: false value when expecting true > debug: Puppet::Type::Package::ProviderRpm: false value when expecting true > > i can''t use yum to install any package!!! > > > facter-1.6.5 > ruby-1.8.7 > puppet-2.7.9 > cat /etc/issue > Red Hat Enterprise Linux Server release 5.4 (Tikanga)This is not enough information. Please share with us the section of the manifest where you''re defining the packages to be installed. -- Peter M. Bukowinski Sr. Systems Engineer Janelia Farm Research Campus, HHMI -- 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.
Dan White
2012-Mar-22 15:24 UTC
Re: [Puppet Users] i can''t use yum to install any package!!!
What version of yum ? ----- 妖狐 <mytool2002@gmail.com> wrote:> Hi:all > when i run this command > puppet agent --no-daemonize --debug > > I get "wrong number of arguments" all over the place: > > facter-1.6.5 > ruby-1.8.7 > puppet-2.7.9 > cat /etc/issue > Red Hat Enterprise Linux Server release 5.4 (Tikanga)“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- 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.
[root@node3 Desktop]# yum --version 3.2.22 Installed: rpm-4.4.2.3-18.el5.i386 at 2011-10-23 22:53 Built : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2009-07-24 05:56 Committed: Panu Matilainen <pmatilai@redhat.com> at 2009-07-24 22:00 Installed: yum-3.2.22-20.el5.noarch at 2011-10-23 22:53 Built : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2009-07-07 19:15 Committed: James Antill <jantill@redhat.com> at 2009-07-07 22:00 Installed: yum-metadata-parser-1.1.2-3.el5.i386 at 2011-10-23 22:52 Built : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2009-04-06 14:15 Committed: James Antill <james.antill@redhat.com> at 2009-04-06 22:00 Installed: yum-rhn-plugin-0.5.4-13.el5.noarch at 2011-10-23 22:53 Built : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2009-08-03 18:33 Committed: Pradeep Kilambi <pkilambi@redhat.com> at 2009-08-03 22:00 On 3月22日, 下午11时24分, Dan White <y...@comcast.net> wrote:> What version of yum ? > > ----- 妖狐 <mytool2...@gmail.com> wrote: > > Hi:all > > when i run this command > > puppet agent --no-daemonize --debug > > > I get "wrong number of arguments" all over the place: > > > facter-1.6.5 > > ruby-1.8.7 > > puppet-2.7.9 > > cat /etc/issue > > Red Hat Enterprise Linux Server release 5.4 (Tikanga) > > "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." > Bill Waterson (Calvin & Hobbes)-- 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.
node ''node1.example.com'' { package {''vim-enhanced'': ensure => present } include sudo include ssh } i think this is right! the problem may be "debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' wrong number of arguments (2 for 1) " debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist On 3月22日, 下午10时48分, Bernd Adamowicz <Bernd.Adamow...@esailors.de> wrote:> Post your manifest code. > > Bernd > > Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von ?? > Gesendet: Donnerstag, 22. März 2012 14:29 > An: puppet-users@googlegroups.com > Betreff: [Puppet Users] i can''t use yum to install any package!!! > > Hi:all > when i run this command > puppet agent --no-daemonize --debug > > I get "wrong number of arguments" all over the place: > > debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm --version'' > wrong number of arguments (2 for 1) > debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' > wrong number of arguments (2 for 1) > debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm --version'' > wrong number of arguments (2 for 1) > debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' > wrong number of arguments (2 for 1) > info: Caching catalog for node3.example.com<http://node3.example.com> > debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist > debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist > debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist > debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist > debug: Puppet::Type::Package::ProviderYum: false value when expecting true > debug: Puppet::Type::Package::ProviderRpm: false value when expecting true > > i can''t use yum to install any package!!! > > facter-1.6.5 > ruby-1.8.7 > puppet-2.7.9 > cat /etc/issue > Red Hat Enterprise Linux Server release 5.4 (Tikanga) > > -- > 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<mailto:puppet-users@googlegroups.com>. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com<mailto:puppet-users+unsubscribe@g ooglegroups.com>. > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.-- 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.
thank every one! i fix this problem! this is ruby-1.8.7''s bug! update ruby ! On 3月23日, 上午11时42分, 狐狐 <mytool2...@gmail.com> wrote:> node ''node1.example.com'' { > package {''vim-enhanced'': ensure => present } > include sudo > include ssh > > } > > i think this is right! > the problem may be > "debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql > rpm'' > wrong number of arguments (2 for 1) " > debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge > does not exist > > On 3月22日, 下午10时48分, Bernd Adamowicz <Bernd.Adamow...@esailors.de> > wrote: > > > > > > > > > Post your manifest code. > > > Bernd > > > Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von ?? > > Gesendet: Donnerstag, 22. März 2012 14:29 > > An: puppet-users@googlegroups.com > > Betreff: [Puppet Users] i can''t use yum to install any package!!! > > > Hi:all > > when i run this command > > puppet agent --no-daemonize --debug > > > I get "wrong number of arguments" all over the place: > > > debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm --version'' > > wrong number of arguments (2 for 1) > > debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' > > wrong number of arguments (2 for 1) > > debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm --version'' > > wrong number of arguments (2 for 1) > > debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' > > wrong number of arguments (2 for 1) > > info: Caching catalog for node3.example.com<http://node3.example.com> > > debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist > > debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist > > debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist > > debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist > > debug: Puppet::Type::Package::ProviderYum: false value when expecting true > > debug: Puppet::Type::Package::ProviderRpm: false value when expecting true > > > i can''t use yum to install any package!!! > > > facter-1.6.5 > > ruby-1.8.7 > > puppet-2.7.9 > > cat /etc/issue > > Red Hat Enterprise Linux Server release 5.4 (Tikanga) > > > -- > > 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<mailto:puppet-users@googlegroups.com>. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com<mailto:puppet-users+unsubscribe@g ooglegroups.com>. > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.-- 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.