Installing Jenkins with Puppet fails to import GPG key

listed in answer

Installing Jenkins with Puppet fails to import GPG key
0 votes, 0.00 avg. rating (0% score)

ANSWER:

You will probably need to add and rpm --import command in your manifest.

Exec type reference:
http://docs.puppetlabs.com/references/stable/type.html#exec

Perhaps you can try adding assumeyes=1 to the repo file, together with the gpgkey option this should add the key automatically.

by Bram from http://serverfault.com/questions/383699