alphagov/machine-bootstrap — pull request #3 by samjsharpe (2013-12-02 11:54:24+00:00)
Title: Add generation of GPG keys for hiera-gpg

- Add options for GPG key name and GPG key email
- Extend the ssh_runcommand task so output can be collected
- Add generation and printing of GPG key for root

Test run:

```
WARNING: Setting up key-based auth
WARNING: Configuring machine
WARNING: Creating GPG for root with name 'Puppet Hiera Key' and email 'puppet@puppet.com'
WARNING: Exporting GPG key for root - you may need to import this into your Hiera-GPG setup

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.17 (GNU/Linux)

-----END PGP PUBLIC KEY BLOCK-----

WARNING: Bootstrap script exiting successfully
```