Add detailed-exitcodes for puppet, and make sure every hostname has two parts for the fqdn fact

Signed-off-by: Ken Barber <ken@bob.sh>