Tim Dunphy wrote: > I am having a strange occurrence where I can run puppet on a client > successfully and have it install httpd and php and a few other > packages. The first run everything goes ok and everything installs > perfectly the first run. But if I delete the packages (using yum > remove foo) and run puppet again I get gpg key errors and the packages > fail to install. > > ## puppet errors > > err: /Stage[main]/Apache/Package[php-mcrypt.i386]/ensure: change from > absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y > install php-mcrypt.i386' returned 1: warning: rpmts_HdrFromFdno: > Header V3 DSA signature: NOKEY, key ID cf4c4ff9 > > > Public key for php-mcrypt-5.2.17-1.1.w5.i386.rpm is not installed
You need to install the GPG key for the repository that is providing those php packages. Alternately, you could disable gpg checks in the repo file for this repo, but that's not something I'd recommend. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Learn from the mistakes of others--you can never live long enough to make them all yourself. -- John Luther
pgp5pJgUSvgVg.pgp
Description: PGP signature