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

Bug #7463

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

Added by Ben Hughes almost 3 years ago. Updated about 1 year 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

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


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 almost 3 years ago

  • Assignee set to Nigel Kersten

#2 Updated by Nigel Kersten almost 3 years ago

  • Assignee deleted (Nigel Kersten)

#3 Updated by Joshua Lifton almost 2 years ago

  • Assignee set to Daniel Pittman

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 about 1 year ago

  • Keywords set to customer

#6 Updated by Charlie Sharpsteen about 1 year ago

  • Status changed from Accepted to Duplicate
  • Assignee changed from Daniel Pittman to Charlie Sharpsteen

Closing as a duplicate of #2662.

Also available in: Atom PDF