puppetlabs / puppet-vro-starter_content

15 stars 19 forks source link

Autosign script improvements #34

Closed natemccurdy closed 6 years ago

natemccurdy commented 6 years ago

Prior to this, the autosign script exited either 0 or 1. When exiting 1, it wasn't clear why the script rejected the certificate.

This commit improves the autosign script by adding additional exit codes based on the reason for success or failure:

Exit Codes: 0 - A matching challengePassword was found. 1 - No challengePassword was found. 2 - The wrong challengePassword was found.

ping @jpadams

natemccurdy commented 6 years ago

@jpadams Please review this if you can 👍