this works

Debug: Finishing transaction 18026400
Info: Creating a new SSL key for test
Error: Could not request certificate: Could not write /var/opt/lib/pe-puppet/devices/test/ssl/private_keys/test.pem to privatekeydir: Permission denied - /
var/opt/lib/pe-puppet/devices/test/ssl/private_keys/test.pem