Hi all,

I'm on SL5 (something like RH5) and I have something as simple as:
       package {"libX11-devel.x86_64": }
       package {"libX11-devel.i386": }

Cause I want both versions installed in my system.

But on one node:

# rpm -qa|grep libX11-devel
libX11-devel-1.0.3-9.el5

# yum list libX11-devel*
Loaded plugins: kernel-module
Excluding Packages from dag
Finished
Installed Packages
libX11-devel.x86_64                                                  
1.0.3-9.el5                                                  installed
Available Packages
libX11-devel.i386                                                    
1.0.3-9.el5                                                  sl     

so the one for i386 is not installed. Seems that puppet thinks that
it's already installed.

I'm trying o figure out what it's doing for checking package presence:

# puppetd --test --server server.domain --debug > log
# grep libX11-devel log
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q 
libX11-devel.x86_64 --nosignature --nodigest --qf %{NAME} 
%|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q 
libX11-devel.i386 --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| 
%{VERSION} %{RELEASE} %{ARCH}

I cannot execute that query:
# /bin/rpm -q libX11-devel.x86_64 --nosignature --nodigest --qf %{NAME} 
%|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}
-bash: %{VERSION}: command not found
-bash: EPOCH?{%{EPOCH}}:{0}: command not found

but the first part of both returns 0:

# /bin/rpm -q libX11-devel.i386 --nosignature --nodigest 
# echo $?
0
# /bin/rpm -q libX11-devel.x86_64 --nosignature --nodigest 
libX11-devel-1.0.3-9.el5
# echo $?
0

Our yum version:
yum-3.2.19-25.sl

So, anyone could help me to understand why puppet cannot install both
packages?

Cheers,
Arnau

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to