Closed jowrjowr closed 4 years ago
The documentation here includes the following code block:
exec { "Generate combined .pem file for $puppetdb_host": command => "cat private_keys/${my_certname}.pem certs/${my_certname}.pem > private_keys/${my_certname}_combined.pem", path => ["/usr/bin", "/usr/sbin"], cwd => $ssl_subdir, refreshonly => true }
This won't work as listed due to cat being /bin/cat by standard, and NEVER sbin.
The fix is the following:
exec { "Generate combined .pem file for $puppetdb_host": command => "cat private_keys/${my_certname}.pem certs/${my_certname}.pem > private_keys/${my_certname}_combined.pem", path => ["/usr/bin", "/bin"], cwd => $ssl_subdir, refreshonly => true }
Hi,
Thanks for the report. Any chance that you create a PR for your fix?
Best, Eric
Sorry for the delay and thanks for your effort!
The documentation here includes the following code block:
This won't work as listed due to cat being /bin/cat by standard, and NEVER sbin.
The fix is the following: