[Puppet Users] Re: i can't use yum to install any package!!!

2012-03-22 Thread
[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. at 2009-07-24 05:56 Committed: Panu Matilainen at 2009-07-24 22:00 Installed: yum-3.2.22-20.el5.noarch at 2011-10-23 22:53

[Puppet Users] Re: i can't use yum to install any package!!!

2012-03-22 Thread
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::Ty

[Puppet Users] Re: Multiple default providers for package: dpkg, pip; using dpkg, Why?

2012-03-22 Thread
I met the same problem on rhel5.4 On 2月23日, 上午7时19分, Kyle Anderson wrote: > I see. I'm running facter 1.5.9 on both Ubuntu 11.10 hosts, stock packages. > > If I do force it to use apt as the provider I still get an error, but > it exposes something else: > > # puppet apply -e 'package { openssh-

[Puppet Users] Re: i can't use yum to install any package!!!

2012-03-22 Thread
thank every one! i fix this problem! this is ruby-1.8.7's bug! update ruby ! On 3月23日, 上午11时42分, 狐狐 wrote: > node 'node1.example.com' { >         package {'vim-enhanced': ensure => present } >         include sudo >         include ssh > > } &g