I am trying to make chef-11.16.4-1.el6.x86_64.rpm available to our servers via a local yum repo that we've built.
it is not available in RHEL Repos, so i had to manually download and save it in our repo.
so here is what i did on yum repo server:
1. cd /packages/rhel65-base/; wget https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.16.4-1.el6.x86_64.rpm 2. createrepo /packages/rhel65-base/
Yum client was able to see the new package available:
[user1@testserver01 ~]$ yum list chef Loaded plugins: amazon-id, rhui-lb, security Installed Packages chef.x86_64 11.16.0-1.el6 installed Available Packages chef.x86_64 11.16.4-1.el6 local-rhel65-base
But when trying to install the latest package of chef, it ends with below error:
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY Public key for chef-11.16.4-1.el6.x86_64.rpm is not installed
Assuming that the chef rpm has not been signed, i tried to sign it myself by following https://iuscommunity.org/pages/CreatingAGPGKeyandSigningRPMs.html but still couldn't get it working.
Some useful info i can find in Chef's website is the SHA1 checksum value of this package.
Anyone got ideas/suggestions to solve this issue? thanks!