Issue #7463 has been updated by Charlie Sharpsteen.

Keywords set to  customer

----------------------------------------
Bug #7463: yum package provider doesn't piece together package name with arch 
correctly.
https://projects.puppetlabs.com/issues/7463#change-88649

* Author: Ben Hughes
* Status: Accepted
* Priority: Normal
* Assignee: Daniel Pittman
* Category: package
* Target version: 
* Affected Puppet version: 
* Keywords:  customer
* 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to