Issue #1380 has been updated by jamtur01.

Status changed from Unreviewed to Needs more information

How exactly would one do this?  There is no option from memory in yum for 
specifying what architecture except through suffixing the package name?  How 
would you specify "allmatches" for example?
----------------------------------------
Bug #1380: type package with yum installs/updates native arch
http://reductivelabs.com/redmine/issues/show/1380

Author: lludwig
Status: Needs more information
Priority: Normal
Assigned to: 
Category: Red Hat
Target version: 
Keywords: 
Complexity: Unknown
Patch: None
Affected version: 0.24.4


If you are running on a 64 bit (x86_64) version of CentOS/RHEL the type 
'package' will only download and install the rpm for the native arch.  Here is 
an example.

class freetype {
        package { "freetype":
                ensure  => latest,
        }
        package { "freetype-devel":
                ensure  => latest,
                require => Package["freetype"],
        }
}

[EMAIL PROTECTED] package]# rpm -q -a | grep freetype
freetype-2.1.9-7.el4.6
freetype-2.1.9-8.el4.6
freetype-devel-2.1.9-8.el4.6

There are two versions of freetype installed.  One x86_64 and the other i386.

Puppet only installed the x86_64 version and did not update the i386 version.

[EMAIL PROTECTED] package]# yum update
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package freetype.i386 0:2.1.9-8.el4.6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 freetype                i386       2.1.9-8.el4.6    update            764 k

I suggest to adding an option to the 'package' type to allow a either:
allmatches - install all Arch
i386, x86_64 (or whatever) - installs specific arch




----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to