/etc/puppetlabs/enterprise/conf.d missing on postgres server causing upgrade to fail
16c7x opened this issue · 1 comments
Describe the Bug
If you build an x-large infrastructure with peadm, the /etc/puppetlabs/enterprise/conf.d is not created. If you then use peadm::upgrade plan it fails on the Postgres server trying to write the pe.conf file.
Expected Behavior
The install of the Postgres server should create the /etc/puppetlabs/enterprise/conf.d directory
Or
The peadm::upgrade plan should check it /etc/puppetlabs/enterprise/conf.d exists and if not create it.
Steps to Reproduce
Run peadm::install for an x-large infrastructure.
rn peadm::upgrade.
Environment
- Version [e.g. 1.27.0]
- Platform [e.g. Ubuntu 18.04]
Additional Context
Add any other context about the problem here.
This looks like it only affect postgres server added with the add database plan, anything built in one hit will have had the install sub plan run on it which does this
https://github.com/puppetlabs/puppetlabs-peadm/blob/main/plans/subplans/install.pp#L393
So similar functionality need to be added to the add database plan.