Unfortunately even the yum provider sucks at this too.  It may have been fixed 
recently, but I don't think so since the problem exists in how rpm reports back 
queries for available packages.  I have to solve this with an exec. .  You 
could do something similar to:

exec {"install libacl.i386":
    command => "up2date --arch i386 libacl",
    onlyif => "rpm -qa libacl.i386 | grep 'libacl' ";
}

On Jan 27, 2010, at 10:17 AM, James Cammarata wrote:

> 
> On Tue, 19 Jan 2010 13:07:21 -0800 (PST), James <j...@sngx.net> wrote:
>> I'm having an issue using package resources on RHEL 4 systems using
>> up2date with RHN.  I need to ensure that libacl.i386 is installed on a
>> x86_64 system, however the up2date provider does not seem to like the
>> yum syntax for specifying arch, and there doesn't seem to be any other
>> method for doing so.
>> 
>> I found this thread, http://projects.reductivelabs.com/issues/2043,
>> that is the same issue, but apparently no progress has been made on it
>> in 10 months.  Considering there are a large number of RHEL4 / Centos4
>> boxes around, I am surprised that a solution for this has not been
>> implemented yet.
>> 
>> Does anyone have a solution for this?  Can I extend the package
>> resource somehow to allow up2date to handle the arch properly?
> 
> Never saw any response to this, has anyone run into this issue besides
> me?
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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