Open deedoubledub opened 3 years ago
This PR would create a new volume to mount to /etc/puppetlabs/puppetserver https://github.com/puppetlabs/pupperware/pull/272
I seem to have the completely opposite problem:
Running /docker-entrypoint.d/70-set-dns-alt-names.sh
Running /docker-entrypoint.d/80-ca.sh
Error:
Existing file at '/etc/puppetlabs/puppet/ssl/certs/puppet.pem'
Existing file at '/etc/puppetlabs/puppet/ssl/certs/ca.pem'
Existing file at '/etc/puppetlabs/puppet/ssl/crl.pem'
If you would really like to replace your CA, please delete the existing files first.
Note that any certificates that were issued by this CA will become invalid if you
replace it!```
how can i restart with the current/already there ca and certs?
updated, I edited thsi file
https://github.com/puppetlabs/pupperware/blob/main/gem/lib/pupperware/compose-services/puppet.yml#L7
and added a new env var:
- CA_ENABLED="false"
and I am back in action.
Describe the Bug
Perhaps I'm overlooking something here, but the ca data is stored outside of the
puppetserver-config
volume and is lost when stopping the stack. The ca is stored in/etc/puppetlabs/puppet/ssl/ca
which is a symlink to/etc/puppetlabs/puppetserver/ca
which is not defined as a volume.Expected Behavior
The ca is persisted to the
puppetserver-config
volume with the rest of the ssl data.Steps to Reproduce
Steps to reproduce the behavior:
docker compose down
docker compose up -d
Environment
Additional Context
I'm going to work around this issue by mapping a volume to
/etc/puppetlabs/puppetserver
.