Thanks for your reply John. I read about your first solution which you posted earlier but I'm trying the second one.
Available Packages
libstdc++.i686 4.4.7-4.el6
libstdc++.x86_64 4.4.7-4.el6
Current package on agent:
libstdc++-4.4.7-3.el6.i686
libstdc++-4.4.7-3.el6.x86_64
Puppet Master:
In hiera
packages::aa_app_req:
- libtiff
- libpng
- libstdc++.x86_64
- libtiff.i686
- libpng.i686
- libstdc++.i686
In manifest
$aa_app_req_array = hiera_array('packages::aa_app_req')
package { $aa_app_req_array:
# ensure => installed,
ensure => latest,
}
Now as the repository has been updated recently and the agent already has previous version of both arch installed, the next puppet run fails with the multilib error. If you could help me understand whether I'm implementing the 2nd solution correctly?
Error: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install libstdc++.x86_64' returned 1: Error: Protected multilib versions: libstdc++-4.4.7-4.el6.x86_64 != libstdc++-4.4.7-3.el6.i686