The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #7463

yum package provider doesn't piece together package name with arch correctly.

Added by Ben Hughes about 4 years ago. Updated over 2 years ago.

Status:DuplicateStart date:05/09/2011
Priority:NormalDue date:
Assignee:Charlie Sharpsteen% Done:

0%

Category:package
Target version:-
Affected Puppet version: Branch:
Keywords: customer

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com


Description

Overview

If you try and specify the architecture for a package with the yum provider it either can’t find the package initially or can’t find it on subsequent runs.

Expected Behaviour

You should be able to specify the arch in the version or package name, and yum installs only that version once it reassembles all the information for the package.

Actual Behaviour

If you specify the package/arch like:

package{ 'njn-plugins-client':
      name    => "njn-plugins-client.${architecture}",
      ensure  => "1.4-26",
}

Yum queries for “njn-plugins-client.${architecture}-1.4-26” which is the wrong format, so will never find the package to install it.

If however you specify it via:

package{ 'njn-plugins-client':
      name    => "njn-plugins-client",
      ensure  => "1.4-26.${architecture}",
}

It will get installed, but puppet is unaware that the “.${arch}” is on the version number, so can no longer find that version installed.


Related issues

Duplicates Puppet - Bug #2662: Yum package arch and version ensuring failing Accepted 09/20/2009

History

#1 Updated by Ben Hughes about 4 years ago

  • Assignee set to Nigel Kersten

#2 Updated by Nigel Kersten about 4 years ago

  • Assignee deleted (Nigel Kersten)

#3 Updated by Anonymous about 3 years ago

  • Assignee set to Anonymous

Per a discussion with Daniel, I’ve added this ticket to the Puppet Roadmap (http://projects.puppetlabs.com/projects/puppet/wiki/RoadMap).

#4 Updated by Charlie Sharpsteen over 2 years ago

  • Keywords set to customer

#6 Updated by Charlie Sharpsteen over 2 years ago

  • Status changed from Accepted to Duplicate
  • Assignee changed from Anonymous to Charlie Sharpsteen

Closing as a duplicate of #2662.

Also available in: Atom PDF