Issue #7463 has been updated by Joshua Lifton.

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).
----------------------------------------
Bug #7463: yum package provider doesn't piece together package name with arch 
correctly.
https://projects.puppetlabs.com/issues/7463#change-63505

Author: Ben Hughes
Status: Accepted
Priority: Normal
Assignee: Daniel Pittman
Category: package
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


# 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:

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

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:
<pre>
package{ 'njn-plugins-client':
      name    => "njn-plugins-client",
      ensure  => "1.4-26.${architecture}",
}
</pre>

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




-- 
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://projects.puppetlabs.com/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