There is a problem where when you enter a certificate in classic input box in Puppet GUI the input loses \n characters, which renders the certificate invalid. The field should be able to accept \n characters or to be a textarea box.
Specifically the problem occurs in haproxy.pp for certificate_sync_ssh_key field.