Aethylred / puppet-keymaster

A Puppet module for generating, deploying, and managing public and private keys/certificates for DSA, RSA, and x509
Other
0 stars 3 forks source link

Check error vs. warning vs. notify on not finding key or key.pub files #1

Closed Aethylred closed 9 years ago

Aethylred commented 9 years ago

Keys need the keymaster to generate keys before they are deployed. When a key is deployed on the keymaster, this errors and fails can block the generation of keys.

It's better that keymaster notifies issues but does not halt a puppet run

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Can't read public key /var/lib/keymaster/openssh/puppet_at_puppetmaster/key.pub at /etc/puppet/environments/production/library/keymaster/manifests/openssh/key/deploy.pp:41 on node puppet.local
Aethylred commented 9 years ago

notify resources through the if elsif might work and be testable.

Aethylred commented 9 years ago

Used notify.