Przeglądaj źródła

Update the readme.

master
Aaron Hicks 6 lat temu
rodzic
commit
2cd9c49b7a
1 zmienionych plików z 39 dodań i 0 usunięć
  1. 39
    0
      README.markdown

+ 39
- 0
README.markdown Wyświetl plik

@@ -4,6 +4,45 @@ This is a Puppet module for handing GPG keys.

[![Build Status](https://travis-ci.org/nesi/puppet-gpg.png)](https://travis-ci.org/nesi/puppet-gpg)

# Install GPG tools

To install the GPG tools:
```
include gpg
```

This should be run before using the GPG type.

# Type and Provider for GPG

A `gpgkey` type is provided for managing and creating gpg keys on the fly. These will regenerate the GPG key on the node, so the GPG key will be unique each time it is created. This provider is most suitable for nodes that do not require their public GPG key to be widely published.

This has been copied from the implementation at: https://github.com/crayfishx/puppet-gpg

## Example:

```
gpgkey{'hostkey':
ensure => present,
email => 'puppet@example.org'
}
```

## Parameters

These are the parameters of the `gpgkey` type:

* **keytype** The key type (RSA or DSA), defaults to RSA.
* **keylength** The bit length of the generated key, defaults to 4096.
* **subkeytype** The subkey type (RSA, Elgamal, or sign-only), defaults to RSA.
* **subkeylength** The bit length of the generated subkey, defaults to 4096.
* **email** The email address embedded into the key, defaults to puppet@localhost
* **expire** The expiry string; 0 does not expire, <n> expires in n days, <n>w expires in n weeks, <n>m expires in n months, and <n>y expires in n years. Defaults to 0 and does not expire.
* **password** Sets the key passphrase, defauls to '' (empty string).
* **armour** Sets ASCII Armoured output, defaults to true.

**NOTE:** though the key type and subkey type can be changed, it is recommended that the defaults are used.

# Licensing

Update your license details here.

Ładowanie…
Anuluj
Zapisz