keyringer <keyring> preferences add PUPPET=/path/to/puppet/config
keyringer <keyring> preferences add PUPPET_KEYS=/path/to/puppet/keys
-Then you just need to issue the following command every time you have to create
-keys for new nodes:
-
- keyringer <keyring> newkeys puppet
-
Configuration files, preferences and options
--------------------------------------------
echo "Encrypting public key into keyringer..."
gpg --armor --homedir "$TMPWORK" --export | keyringer_exec encrypt "$BASEDIR" "$FILE.pub"
echo "Encrypting passphrase into keyringer..."
- echo "Passphrase for $FILE: $passphrase" | keyringer_exec encrypt "$BASEDIR" "$FILE.passwd"
+ echo "Passphrase for $FILE: $passphrase" | keyringer_exec encrypt "$BASEDIR" "$FILE.passwd"
# TODO: add outfiles into version control
if [ ! -z "$OUTFILE" ]; then