Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 4.3.1
-
None
-
Coremunity
-
Platform Core KANBAN
-
Bug Fix
-
Puppet subcommands now fail if we are unable to read `puppet.conf`. The only subcommands that do not require a readable `puppet.conf` are `help` and `--version`.
Description
If puppetserver can't access puppet.conf because of permission issues, it logs a warning line and carries on.
All configurations in puppet.conf are of course ignored.
This is a major headache because user is likely to issue
sudo /opt/puppetlabs/bin/puppet master --genconfig
|
which prints out the expected configurations.
I would prefer the puppetserver to block when unable to access puppet.conf.