-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
Puppet::Type.newtype(:rpmkey) do | ||
|
||
@doc = "Define public GPG keys that should be part of the rpm | ||
keyring." | ||
keyring. | ||
**Autorequires:** If puppet is managing the keyfile as a `file` resource, | ||
the `rpmkey` resource will autorequire that file" | ||
|
||
newparam(:name) do | ||
desc "The name of the key. This is the keyID (in hex) in | ||
uppercase." | ||
desc "The `name` of the `rpmkey` resource has to be the keyID (in hex) | ||
of the gpg key in uppercase. If you have the public key available as a | ||
file but you are unsure of the correct keyID, use `gpg` to extract the | ||
keyID. For example, to find the keyID used by EPEL 7: | ||
$ gpg ./RPM-GPG-KEY-EPEL-7 | ||
pub 4096R/352C64E5 2013-12-16 Fedora EPEL (7) <[email protected]> | ||
in this case, `352C64E5` would be the correct name." | ||
|
||
isnamevar | ||
|
||
|